Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Commit 52ca77b

Browse files
committed
declare sha3 as an alias of sha3_512
For backwards compatibiliy. See multiformats/multihash#20.
1 parent f155754 commit 52ca77b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

multihash.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Func(Enum):
4545
sha2_512 = 0x13
4646
# See jbenet/multihash#11 for new SHA-3 function names and codes.
4747
sha3_512 = 0x14
48+
sha3 = sha3_512 # deprecated, for backwards compatibility
4849
sha3_384 = 0x15
4950
sha3_256 = 0x16
5051
sha3_224 = 0x17

0 commit comments

Comments
 (0)