Encrypted bytes in Hex?
Posted: Thu Feb 18, 2016 4:12 am
Hi
I would like to use the AES Crypt for encrypting the data and would like to get the encrypted data in "hex" format rather than in unicode (UTF-8) format.
Lets say that I have a bytes "90909090909090909090909090909090" i.e. of 16 bytes in hex(32 chars, each char takes 1 nibble when you load into memory). After encrypting i should get the same number of bytes i.e. 16bytes (32 chars). and I would like to get that out of encrypted bytes in "hex or binary" form. Is it possible to get it that way?
Appreciate your help!!
regards,
Bharath
I would like to use the AES Crypt for encrypting the data and would like to get the encrypted data in "hex" format rather than in unicode (UTF-8) format.
Lets say that I have a bytes "90909090909090909090909090909090" i.e. of 16 bytes in hex(32 chars, each char takes 1 nibble when you load into memory). After encrypting i should get the same number of bytes i.e. 16bytes (32 chars). and I would like to get that out of encrypted bytes in "hex or binary" form. Is it possible to get it that way?
Appreciate your help!!
regards,
Bharath