Skip to content

Commit 834fecc

Browse files
Added reference attributes in parent module
1 parent 54c7b65 commit 834fecc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

adafruit_hashlib/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@
2424
"""
2525
try:
2626
import hashlib
27+
md5 = hashlib.md5
28+
sha1 = hashlib.sha1
29+
sha224 = hashlib.sha224
30+
sha256 = hashlib.sha256
31+
sha384 = hashlib.sha384
32+
sha512 = hashlib.sha512
2733
except ImportError:
2834
from adafruit_hashlib._sha256 import sha224, sha256
2935
from adafruit_hashlib._sha512 import sha384, sha512

0 commit comments

Comments
 (0)