Hey all,

I've searched the discussion group for solutions on how to encrypt data
that is larger than FixedMaxPlaintextLength(). I came across a few
ideas in this post:
http://groups.google.com/group/cryptopp-users/browse_thread/thread/31b5db762a247d84/99b79edbfa4bdae4?lnk=st&q=cryptopp+FixedMaxPlaintextLength&rnum=1#99b79edbfa4bdae4

To sum up:
- Generate and use a temporary symmetric session key to encrypt the
actual plaintext and use RSA to encrypt the session key.
- Split the plaintext into smaller blocks and encrypt each one using
RSA's Encrypt() method in succession.

I'm wondering which approach is the most commonly used in practice?
Personally, I'm in favor of the latter as it doesn't require the
generation of a temporary session key. Would it be an idea to include
this "block-feature" in a future version of Crypto++?

Soren


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Crypto++ 
Users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cryptopp-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to