[PYTHON-CRYPTO] Comments on PEP 247 (Hashing)

Rich Salz rsalz at ZOLERA.COM
Tue Sep 25 05:09:21 CEST 2001

Discussions with my colleage here reminded me that I let some things
slip through the cracks.

1.  Why is there a new method; why isn't the classic constructor
    good enough?  The PEP needs to justify this.
2.  I'm concerned that the new([key],[string]) calling sequence
    makes ambiguity possible, mistaking a string for a key if
    not realizing I'm using HMAC, e.g.  I suggest removing the initial
3.  I'd like to see write available as a required synonym for update:
        print >>h, "This is what I'm talking about."

More information about the python-crypto mailing list