Hi Jeffrey,
thanks for replying :-)
> Do the scripts include the trailing '\0' of 'Hello'?
>
> Jeff
I'm not sure. I changed plaintext to
const byte plaintext[5] = { 0x68, 0x65, 0x6c, 0x6c, 0x6f };
and replaced plaintext.length() + 1 through 5.
I don't think that the script includes the trailing '\0' of 'Hello'.
Both scripts (Python Cryptography Toolkit and PHP) are using a C
implementation of AES. There is a discrepancy between the higher hex
numbers of the Crypto++ result and the Python/PHP results. But the
first Hex number is always correct.
If you have PHP (mcrypt library) installed you can maybe verify it.
Best regards,
Stefan (Stephen)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---