File tree 1 file changed +6
-5
lines changed
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`.
93
93
.. versionchanged :: 3.9
94
94
Hashlib now uses SHA3 and SHAKE from OpenSSL if it provides it.
95
95
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
+
96
101
Usage
97
102
-----
98
103
@@ -205,11 +210,6 @@ A hash object has the following methods:
205
210
concatenation of all the arguments: ``m.update(a); m.update(b) `` is
206
211
equivalent to ``m.update(a+b) ``.
207
212
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
-
213
213
214
214
.. method :: hash.digest()
215
215
@@ -811,6 +811,7 @@ Domain Dedication 1.0 Universal:
811
811
.. _Attacks on cryptographic hash algorithms : https://en.wikipedia.org/wiki/Cryptographic_hash_function#Attacks_on_cryptographic_hash_algorithms
812
812
.. _the FIPS 180-4 standard : https://csrc.nist.gov/publications/detail/fips/180/4/final
813
813
.. _the FIPS 202 standard : https://csrc.nist.gov/publications/detail/fips/202/final
814
+ .. _HACL\* project : https://github.com/hacl-star/hacl-star
814
815
815
816
816
817
.. _hashlib-seealso :
You can’t perform that action at this time.
0 commit comments