Hi,
I haven't built or run your code. But here:
> byte PlainText[]= { 0x4e , 0x6f , 0x77 ,0x20, 0x69, 0x73 ,0x20 ,
> 0x74} ;
> byte cbCipherText[ 64 ] ;
> CryptoPP::ECB_Mode< CryptoPP::DES >::Encryption Encryptor;
> Encryptor.SetKey( key, 8);
> Encryptor.ProcessData( cbCipherText,PlainText, 64);
you would appear to be encrypting whatever 56 bytes follow your
plaintext on the stack in addition to your plaintext.
http://www.cryptopp.com/docs/ref/class_symmetric_cipher.html
HTH,
Geoff
--
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.