diff options
author | Inada Naoki <songofacandy@gmail.com> | 2021-10-10 08:29:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-10 08:29:46 (GMT) |
commit | ad970e8623523a8656e8c1ff4e1dff3423498a5a (patch) | |
tree | ddd33e1925765792c97a500b6d8bf88ca899d53c /Doc/whatsnew/3.11.rst | |
parent | a1c3c9e8245a88cf37b084869b3559638116daf7 (diff) | |
download | cpython-ad970e8623523a8656e8c1ff4e1dff3423498a5a.zip cpython-ad970e8623523a8656e8c1ff4e1dff3423498a5a.tar.gz cpython-ad970e8623523a8656e8c1ff4e1dff3423498a5a.tar.bz2 |
bpo-29410: Change the default hash algorithm to SipHash13. (GH-28752)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Doc/whatsnew/3.11.rst')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index ff376d2..e3650a6 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -175,6 +175,11 @@ Other CPython Implementation Changes support :class:`typing.SupportsComplex` and :class:`typing.SupportsBytes` protocols. (Contributed by Mark Dickinson and Dong-hee Na in :issue:`24234`.) +* ``siphash13`` is added as a new internal hashing algorithms. It's has similar security + properties as ``siphash24`` but it is slightly faster for long inputs. ``str``, ``bytes``, + and some other types now use it as default algorithm for ``hash()``. :pep:`552` + hash-based pyc files now use ``siphash13``, too. + (Contributed by Inada Naoki in :issue:`29410`.) New Modules =========== |