aboutsummaryrefslogtreecommitdiff
path: root/frozen_deps
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2024-08-23 17:52:45 -0700
committerDeterminant <[email protected]>2024-08-23 17:52:45 -0700
commit59759fdde9f03a6c565df50472da5079f6ba745b (patch)
treeb31fd55ed236fc2f69bb3c947142c82086a56963 /frozen_deps
parentc4bea62fbf5b3245cd5458181a41c942640197aa (diff)
remove pysha3 from the dependency
Diffstat (limited to 'frozen_deps')
-rwxr-xr-xfrozen_deps/_pysha3.cpython-310-x86_64-linux-gnu.sobin358248 -> 0 bytes
-rw-r--r--frozen_deps/sha3.py24
2 files changed, 0 insertions, 24 deletions
diff --git a/frozen_deps/_pysha3.cpython-310-x86_64-linux-gnu.so b/frozen_deps/_pysha3.cpython-310-x86_64-linux-gnu.so
deleted file mode 100755
index b075af6..0000000
--- a/frozen_deps/_pysha3.cpython-310-x86_64-linux-gnu.so
+++ /dev/null
Binary files differ
diff --git a/frozen_deps/sha3.py b/frozen_deps/sha3.py
deleted file mode 100644
index 5657f66..0000000
--- a/frozen_deps/sha3.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright (C) 2012-2016 Christian Heimes ([email protected])
-# Licensed to PSF under a Contributor Agreement.
-#
-
-# monkey patch _hashlib
-import hashlib as _hashlib
-
-from _pysha3 import keccak_224, keccak_256, keccak_384, keccak_512
-from _pysha3 import sha3_224, sha3_256, sha3_384, sha3_512
-from _pysha3 import shake_128, shake_256
-
-
-__all__ = ("sha3_224", "sha3_256", "sha3_384", "sha3_512",
- "keccak_224", "keccak_256", "keccak_384", "keccak_512",
- "shake_128", "shake_256")
-
-
-if not hasattr(_hashlib, "sha3_512"):
- _hashlib.sha3_224 = sha3_224
- _hashlib.sha3_256 = sha3_256
- _hashlib.sha3_384 = sha3_384
- _hashlib.sha3_512 = sha3_512
- _hashlib.shake_128 = shake_128
- _hashlib.shake_256 = shake_256