On Feb 17, 10:32 am, Robert Bielik <[email protected]> wrote: > Ok, I'd hoped for a quicker response ;) Anyway, as I've gathered: > There is no way to use RSA public/private keys in a block cipher mode, Not necessarily true - you can operate RSA in ECB mode, its just not recommended (IIRC). See the HAC, "Message Blocking" Chapter 8 (http:// www.cacr.math.uwaterloo.ca/hac/).
> what I can do is to encrypt the AES key + iv with the public key, IVs are public parameters, and usually don't need to be encrypted. There are some who prefer to do so, though. > store it on the receiving end, then when I need to decrypt something I > decrypt the AES key + iv with my private key, and start decrypting. This is pretty much standard. Jeff -- 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.
