summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-11-16 11:22:51 (GMT)
committerGitHub <noreply@github.com>2017-11-16 11:22:51 (GMT)
commitcede8c9edb408321b493d8d5e73be9e1018020e4 (patch)
tree4fe1a839627257c155760f83bad2923aac749834 /Misc
parentccb0442a338066bf40fe417455e5a374e5238afb (diff)
downloadcpython-cede8c9edb408321b493d8d5e73be9e1018020e4.zip
cpython-cede8c9edb408321b493d8d5e73be9e1018020e4.tar.gz
cpython-cede8c9edb408321b493d8d5e73be9e1018020e4.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-10-24-21-10-44.bpo-31702.SfwJDI.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-10-24-21-10-44.bpo-31702.SfwJDI.rst b/Misc/NEWS.d/next/Library/2017-10-24-21-10-44.bpo-31702.SfwJDI.rst
new file mode 100644
index 0000000..3505cbd
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-10-24-21-10-44.bpo-31702.SfwJDI.rst
@@ -0,0 +1,2 @@
+crypt.mksalt() now allows to specify the number of rounds for SHA-256 and
+SHA-512 hashing.