Re: [Python-Dev] hashlib - faster md5/sha, adds sha256/512 support

2005-12-21 Thread Gregory P. Smith
> A new core `hashlib` module will be included in Python 2.5, but will > not be backported to older Python versions. It includes new > implementations for SHA-224, -256, -384 and -512. The code and tests > are already written, and can be gotten from Python's SVN trunk. Another thing I intended t

Re: [Python-Dev] hashlib - faster md5/sha, adds sha256/512 support

2005-12-21 Thread Gregory P. Smith
On Fri, Dec 16, 2005 at 02:50:36PM -0800, Brett Cannon wrote: > On 12/16/05, Tim Peters <[EMAIL PROTECTED]> wrote: > [SNIP] > > python-dev'ers: I failed to find anything in the trunk's NEWS file > > about this (neither about `hashlib`, nor about any of the specific new > > hash functions). It's n

Re: [Python-Dev] hashlib - faster md5/sha, adds sha256/512 support

2005-12-16 Thread Brett Cannon
On 12/16/05, Tim Peters <[EMAIL PROTECTED]> wrote: [SNIP] > python-dev'ers: I failed to find anything in the trunk's NEWS file > about this (neither about `hashlib`, nor about any of the specific new > hash functions). It's not like it isn't newsworthy ;-) I have fixed the faux pas and added an

Re: [Python-Dev] hashlib - faster md5/sha, adds sha256/512 support

2005-12-16 Thread Tim Peters
[Ronald L. Rivest] > I'm curious as to the status of upgrading cryptographic > hash function support in Python, now that md5 and sha1 are > both clearly broken (in terms of collision-resistance). > > The consensus of researchers in this area (at least as > expressed at the NIST Hash Function Works

Re: [Python-Dev] hashlib - faster md5/sha, adds sha256/512 support

2005-12-16 Thread Jeremy Hylton
Python 2.5 will include sha-256 and sha-512. It will be released sometime next year. Jeremy On 12/16/05, Ronald L. Rivest <[EMAIL PROTECTED]> wrote: > Hi -- > > I'm curious as to the status of upgrading cryptographic > hash function support in Python, now that md5 and sha1 are > both clearly br

[Python-Dev] hashlib - faster md5/sha, adds sha256/512 support

2005-12-16 Thread Ronald L. Rivest
Hi -- I'm curious as to the status of upgrading cryptographic hash function support in Python, now that md5 and sha1 are both clearly broken (in terms of collision-resistance). The consensus of researchers in this area (at least as expressed at the NIST Hash Function Workshop 10/31/05), is that S

[Python-Dev] hashlib - faster md5/sha, adds sha256/512 support

2005-06-11 Thread Gregory P. Smith
I have finished up the hashlib work I started on in feb/march for patch 1121611 and 935454 after some discussion on this list. The full patch including tests and module documentation has been posted in the sf patch 1121611 as hashlib-008. I believe it is done and ready and would like to commit it