Passing in Hex values for encryption
From: dean (abc_at_def.com)
Date: 05/27/03
- Next message: dean: "DES Encryption and Decryption using different keys gives 'Bad Data' exception"
- Previous message: Joe Masters: "Re: Failure: Working on an Existing Solution for the First Time using Terminal Services Client"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Passing in Hex values for encryption"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Passing in Hex values for encryption"
- Reply: Michael Giagnocavo [MVP]: "Re: Passing in Hex values for encryption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 27 May 2003 12:41:37 +0200
Hi,
Does anyone know a neat and tidy way of converting a string of Hex values
into a byte array. I am given strings of Hex values in the format -
"8F5E6EBABC0E2F9249E5C2010708C834" that need to be encrypted. At the moment
I am looping through the length of the string (using step 2) and then
extrracting the values out using hex calculations eg 8*16 + 15 for 8F.
I am finding the number of ToString, ToBase64 etc methods that are dotted
around hard to keep a track of at times. Are there any convert funcions
built into Dotnet that would help?
Thanks for the help
Dan
- Next message: dean: "DES Encryption and Decryption using different keys gives 'Bad Data' exception"
- Previous message: Joe Masters: "Re: Failure: Working on an Existing Solution for the First Time using Terminal Services Client"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Passing in Hex values for encryption"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Passing in Hex values for encryption"
- Reply: Michael Giagnocavo [MVP]: "Re: Passing in Hex values for encryption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|