diff --git a/Misc/NEWS.d/next/Library/2022-03-23-10-07-41.bpo-47098.7AN_qp.rst b/Misc/NEWS.d/next/Library/2022-03-23-10-07-41.bpo-47098.7AN_qp.rst index 3acf5fe8e02d84..dbb71bfb0f28b1 100644 --- a/Misc/NEWS.d/next/Library/2022-03-23-10-07-41.bpo-47098.7AN_qp.rst +++ b/Misc/NEWS.d/next/Library/2022-03-23-10-07-41.bpo-47098.7AN_qp.rst @@ -1,2 +1,3 @@ -The Keccak Code Package for :mod:`hashlib`'s SHA3 and SHAKE algorithms has -been replaced with tiny_sha3. +The Keccak Code Package for :mod:`hashlib`'s internal ``_sha3`` module has +been replaced with tiny_sha3. The module is used as fallback when Python is +built without OpenSSL. diff --git a/Modules/_sha3/LICENSE b/Modules/_sha3/LICENSE index 1f048f5a1747f7..d2d484d8820dcf 100644 --- a/Modules/_sha3/LICENSE +++ b/Modules/_sha3/LICENSE @@ -1,1197 +1,22 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - tiny_sha3/LICENSE at master · mjosaarinen/tiny_sha3 · GitHub - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Skip to content - - - - - - - - - - -
- -
- - - - - - - -
- - - -
- - - - - - - - - - -
-
-
- - - - - - - - - - - - -
- - - - - - -
- - -
- -Permalink - - - -
- Newer -
    -
  1. -
  2. -
  3. -
  4. -
  5. -
  6. -
  7. -
  8. -
  9. -
  10. -
- Older -
- - -
-
- - - - - - -
- - - - 100644 - - 22 lines (17 sloc) - - 1.07 KB -
-
- -
-
- -
- -
-
- -
- -
-
- - @mjosaarinen -
-
- -
- -
-
Dec 14, 2015
-
-
-
- -
- -
- -
-
-
1
-
The MIT License (MIT)
-
-
-
2
-
-
-
-
-
3
-
Copyright (c) 2015 Markku-Juhani O. Saarinen
-
-
-
4
-
-
-
-
-
5
-
Permission is hereby granted, free of charge, to any person obtaining a copy
-
-
-
6
-
of this software and associated documentation files (the "Software"), to deal
-
-
-
7
-
in the Software without restriction, including without limitation the rights
-
-
-
8
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-
-
-
9
-
copies of the Software, and to permit persons to whom the Software is
-
-
-
10
-
furnished to do so, subject to the following conditions:
-
-
-
11
-
-
-
-
-
12
-
The above copyright notice and this permission notice shall be included in all
-
-
-
13
-
copies or substantial portions of the Software.
-
-
-
14
-
-
-
-
-
15
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-
-
-
16
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-
-
-
17
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-
-
-
18
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-
-
-
19
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-
-
-
20
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-
-
-
21
-
SOFTWARE.
-
-
-
22
-
-
-
-
-
-
-
- -
- -
- - -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - +The MIT License (MIT) + +Copyright (c) 2015 Markku-Juhani O. Saarinen + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.