[PYTHON-CRYPTO] PEP-272 (API for Secret-Key Encryption Algorithms)

A.M. Kuchling akuchlin at MEMS-EXCHANGE.ORG
Fri Dec 14 06:16:17 CET 2001


On Thu, Dec 13, 2001 at 05:38:45PM -0500, Andy Dustman wrote:
>If new() sets up the key schedule, then it will need a keyword argument
>(decrypt=1) so it can know how to build the key schedule. But then, both

Why not build them both?  I think that's what the pycrypt code does;
the key schedules aren't that large and you probably don't have
hundreds of thousands of encryption objects, so the extra memory and
processing time is negligible.

--amk                                                  (www.amk.ca)
I don't think we should use rational numbers for money because money
isn't rational.
    -- Moshe Zadka, at IPC9

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-crypto/attachments/20011214/49f747cf/attachment.pgp>


More information about the python-crypto mailing list