Commit Graph

10 Commits

Author SHA1 Message Date
Miss Islington (bot) 7f7f74734a
bpo-25172: Raise appropriate ImportError msg when crypt module used on Windows (GH-15149)
(cherry picked from commit f4e725f224)

Co-authored-by: shireenrao <shireenrao@gmail.com>
2019-08-13 14:27:14 -07:00
Serhiy Storchaka cede8c9edb
bpo-31702: Allow to specify rounds for SHA-2 hashing in crypt.mksalt(). (#4110)
The log_rounds parameter for Blowfish has been replaced with the rounds parameter.
2017-11-16 13:22:51 +02:00
Serhiy Storchaka eab3ff72eb bpo-31664: Add support for the Blowfish method in crypt. (#3854) 2017-10-24 19:36:17 +03:00
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