[Botan-devel] Bug: Dropping leading zeros

Rickard Bellgrim rickard.bellgrim at iis.se
Fri May 28 12:24:44 EDT 2010


On 28 maj 2010, at 18.09, Rickard Bellgrim wrote:

> Hmm, but shouldn't Botan enforce that the input data has the same length as the modulus? Then Botan do not have to pad it with leading zeros and then you also get the correct data back when you decrypt it, since Botan know the modulus size.

No, I can just as easily do that myself, but with the decrypted data :)

// Rickard


More information about the botan-devel mailing list