Pycrypto RSA Issue

Jordan Apgar twistedphrame at gmail.com
Tue Feb 9 14:14:27 EST 2010


On Feb 9, 1:27 pm, Legrandin <pheenso... at farifluset.mailexpire.com>
wrote:
> > gkey = RSA.generate(384, Random.new().read)
> > string = str((gkey.publickey().__getstate__(),(333,444)))
>
> You are encrypting with RSA a piece of data which is way
> larger than the key size (48 bytes).

ah thanks Legrandin



More information about the Python-list mailing list