Hello,

I'm using Crypto++ library

I made the IV and key and passed them to the function

    CTR_Mode< AES >::Encryption e;
    e.SetKeyWithIV(key, 16, iv);

Then when I encrypt I use the transformation filter on the string itself to 
get the encrypted string.

[image: enter image description here]

I want to get the final cipher key which XORed with the string to encrypt 
it ? Is there a way to get it from encryption object ?


some one suggested to encrypt 16 bytes of zeros and the o/p will be the key 
but the problem is how to to thaat given that the encrypt function takes 
string only ?

-- 
-- 
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.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to