Commit graph

7 commits

Author SHA1 Message Date
Victor Stinner
6661d885a3 Issue #25287: Don't add crypt.METHOD_CRYPT to crypt.methods if it's not
supported. Check if it is supported, it may not be supported on OpenBSD for
example.
2015-10-02 23:00:39 +02:00
Victor Stinner
7f7b941fdc Issue #18405: Improve the entropy of crypt.mksalt(). 2013-08-14 01:39:14 +02:00
Christian Heimes
ab47577993 white space cleanup 2012-06-27 15:37:47 +02:00
Christian Heimes
afa2973d7a Issue 10924: Fixed mksalt() to use a RNG that is suitable for cryptographic purpose 2012-06-27 15:36:46 +02:00
Brett Cannon
cfbcdbbbf2 A crypt algorithm may not be available by returning None. 2011-02-22 21:55:51 +00:00
Brett Cannon
daa5799cb8 Make Lib/crypt.py meet PEP 8 standards. This also led to a tweak in the new API
by making methods() into a module attribute as it is statically calculated.
2011-02-22 21:48:06 +00:00
Sean Reifscheider
e2dfefbe85 Issue #10924: Adding salt and Modular Crypt Format to crypt library. 2011-02-22 10:55:44 +00:00