That is, can I encrypt (or decrypt) into the same buffer, as below?

// assume Buffer is an array of bytes containing previously encrypted
data

CTR_Mode<AES>::Decryption ctrDecryption(btKey, SHA256::DIGESTSIZE,
btIV);
ctrDecryption.ProcessData(Buffer, Buffer, Len);

And if so, is that true for all modes? ECB? CBC?





--~--~---------~--~----~------------~-------~--~----~
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.
-~----------~----~----~----~------~----~------~--~---

Reply via email to