mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
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>
This commit is contained in:
parent
a1c3c9e824
commit
ad970e8623
11 changed files with 123 additions and 26 deletions
|
|
@ -416,15 +416,19 @@ Libraries options
|
|||
Security Options
|
||||
----------------
|
||||
|
||||
.. cmdoption:: --with-hash-algorithm=[fnv|siphash24]
|
||||
.. cmdoption:: --with-hash-algorithm=[fnv|siphash13|siphash24]
|
||||
|
||||
Select hash algorithm for use in ``Python/pyhash.c``:
|
||||
|
||||
* ``siphash24`` (default).
|
||||
* ``fnv``;
|
||||
* ``siphash13`` (default);
|
||||
* ``siphash24``;
|
||||
* ``fnv``.
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
.. versionadded:: 3.11
|
||||
``siphash13`` is added and it is the new default.
|
||||
|
||||
.. cmdoption:: --with-builtin-hashlib-hashes=md5,sha1,sha256,sha512,sha3,blake2
|
||||
|
||||
Built-in hash modules:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue