[Botan-devel] RSA not decrypting 512 bytes
mybwp at yahoo.com
Wed Jul 7 13:43:38 EDT 2010
I am using exactly the same code provided in the stock examples. I've just added the rsa_enc.cpp in a empty windows console project in Visual Studio 2005, compiled and linked with botan.lib and run the resultant executable on the command line. Same is done with rsa_dec.cpp.
--- On Thu, 7/8/10, tony baba <mybwp at yahoo.com> wrote:
From: tony baba <mybwp at yahoo.com>
Subject: RSA not decrypting 512 bytes
To: botan-devel at randombit.net
Date: Thursday, July 8, 2010, 1:20 AM
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the botan-devel