File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,11 @@ accessible by name via :func:`new`. See :data:`algorithms_available`.
9393.. versionchanged :: 3.9
9494 Hashlib now uses SHA3 and SHAKE from OpenSSL if it provides it.
9595
96+ .. versionchanged :: 3.12
97+ For any of the MD5, SHA1, SHA2, or SHA3 algorithms that the linked
98+ OpenSSL does not provide we fall back to a verified implementation from
99+ the `HACL\* project `_.
100+
96101Usage
97102-----
98103
@@ -205,11 +210,6 @@ A hash object has the following methods:
205210 concatenation of all the arguments: ``m.update(a); m.update(b) `` is
206211 equivalent to ``m.update(a+b) ``.
207212
208- .. versionchanged :: 3.1
209- The Python GIL is released to allow other threads to run while hash
210- updates on data larger than 2047 bytes is taking place when using hash
211- algorithms supplied by OpenSSL.
212-
213213
214214.. method :: hash.digest()
215215
@@ -811,6 +811,7 @@ Domain Dedication 1.0 Universal:
811811.. _Attacks on cryptographic hash algorithms : https://en.wikipedia.org/wiki/Cryptographic_hash_function#Attacks_on_cryptographic_hash_algorithms
812812.. _the FIPS 180-4 standard : https://csrc.nist.gov/publications/detail/fips/180/4/final
813813.. _the FIPS 202 standard : https://csrc.nist.gov/publications/detail/fips/202/final
814+ .. _HACL\* project : https://github.com/hacl-star/hacl-star
814815
815816
816817.. _hashlib-seealso :
You can’t perform that action at this time.
0 commit comments