in reply to Re^5: convert hexadecimal value to encrypted string
in thread convert hexadecimal value to encrypted string
639D879F224CA2A1BA73CC4884DBD362
I know the plaintext string that corresponds to the above cipher text. It is
8235
I can send an encrypt request to the server with the above string, and obtain the encrypted data. Since it contains unprintable characters, I am giving you the Base64 encoded the value of the encrypted string. You can obtain the encrypted string by simply running
to get the encrypted string.perl -MMIME::Base64 -e 'print decode_base64($str) . "\n";'
The Base 64 encoded string of the encrypted string is
vY+TqCu5/Wdg6O+ilDqHVQ==
As mentioned earlier I want to verify that the encryption/decryption process works ok. So the hex string at the beginning of this post should be equal to the Base64 decoded string vY+TqCu5/Wdg6O+ilDqHVQ==
Thanks a lot for your time!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: convert hexadecimal value to encrypted string
by dakkar (Hermit) on Dec 11, 2004 at 16:57 UTC | |
by linuxfan (Beadle) on Dec 11, 2004 at 22:49 UTC | |
by linuxfan (Beadle) on Dec 12, 2004 at 08:01 UTC | |
by dakkar (Hermit) on Dec 12, 2004 at 10:50 UTC | |
by linuxfan (Beadle) on Dec 13, 2004 at 21:31 UTC | |
|
Re^7: convert hexadecimal value to encrypted string
by Mr. Muskrat (Canon) on Dec 11, 2004 at 15:10 UTC | |
by linuxfan (Beadle) on Dec 11, 2004 at 21:18 UTC |