Hello, I want to start with the Crypto++ lib and encrypt binary data
(like files) but I never used this library and never used encryption
algorithms in my own code before.

- For example, I want to encrypt a file asymmetrically. As far as I
understood, I first have to encrypt the data with a symmetric key,
then encode the symmetric key with a public RSA key and send both to
the recipient. Is this correct (and secure)?

- What is the IV parameter good for?

- I used examples from the Crypto++ Wiki AES page. Is it save to
generate a random key with rng.GenerateBlock(..) and how do I define
whether AES128, AES192 or AES256 will be used - by setup the key
variable to lengths like 16, 24 and 32 bytes?

Thanks in advance,
John M.

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