[Botan-devel] RSA not decrypting 512 bytes

Jack Lloyd lloyd at randombit.net
Wed Jul 7 12:31:01 EDT 2010


On Wed, Jul 07, 2010 at 09:20:13AM -0700, tony baba wrote:
> I want to encrypt and decrypt a 512 byte file using RSA algorithm. I
> am using rsa_enc.cpp and rsa_dec.cpp examples provided with Botan. I
> can compile and run these examples however the decryption routine
> returns only first 162 bytes of the original plain text instead of
> full 512 bytes. Do I need to make any changes to these files?

I can't replicate this with the stock examples. Can you post your source?

-Jack



More information about the botan-devel mailing list