[Python-ideas] Strong password hashing algorithms in the standard library

Antoine Pitrou solipsis at pitrou.net
Wed Jan 8 12:42:24 CET 2014


Hi Terry,

On Wed, 8 Jan 2014 18:16:47 +0800
Terry Chia <terrycwk1994 at gmail.com> wrote:
> 
> I would like to propose that a new library for strong password hashing
> algorithms[1]
> be included in the standard library. The proposed library should have
> implementations
> of one or more strong password hashes like pbkdf2, bcrypt or scrypt.

In 3.4, hashlib has gained a pbkdf2 implementation:
http://docs.python.org/dev/library/hashlib.html#key-derivation-function

I think other similar primitives should be added alongside. It's
probably enough to open an issue on http://bugs.python.org.

If you want guidance on how to contribute code, please take a look at
the developers' guide: http://docs.python.org/devguide/

Best regards

Antoine.




More information about the Python-ideas mailing list