Hello together,

I downloaded Crypto++ last week and after a few hours of playing around with it 
I was really pleased how easy you make it to handle encryption, signing, etc.

Today I wanted to encrypt a file (1 KB) using RSA, but it always failed with an 
exception. After some diggin in the mailing list archive I found out that the 
maximum length you can encrypt using RSA depends on the key strength. I also 
read that the best way to encrypt larger files is a symmetric cipher.

But in fact my file will be always one KB, so I would prefereably not have the 
overhead of transmitting the symmetric key.

In Java I may RSA encrypt files of any length (The padding is done 
automatically). Is there any way to do that with Crypto++ ?

I've searched google and the mailing list for hours, but didn't find any 
suitable information :(

Thanks in advance,
Sebastian Kopsan

Reply via email to