Yes, the documentation says

either inString == outString, or they don't overlap

--------------------------------------------------
From: "Matt Jacobs" <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2007 9:30 PM
To: "Crypto++ Users" <[EMAIL PROTECTED]>
Subject: In inline encryption/decryption supported?

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