Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crypto Key Byte Array Representations
Message
From
25/05/2004 09:05:10
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Crypto Key Byte Array Representations
Miscellaneous
Thread ID:
00906872
Message ID:
00906872
Views:
41
In using some of the Cryptography routines I am trying to use the GenerateKey() and GenerateIV() methods to allow for creation of Keys and IVs for the encryption process. When this is done, it is needful to store the generated keys in a string representation that can later be reconverted to the byte arrays used for the encryption process.

I am having trouble finding the appropriate conversion from byte array to string for storage. I've used several of the encoding methods to convert to a string representation but reconverting to the byte array does not yield the original bytes which causes the encryption process to fail ( catastrophically :-) ).

What would be the proper way to convert the generated byte arrays to string representations for storage, then the method to reconvert the string representation back to byte array for encrption processing?

Thanks,
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Next
Reply
Map
View

Click here to load this message in the networking platform