Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hashlib/hashlib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from .sha256 import sha224, sha256
from .sha512 import sha384, sha512
from ._sha256 import sha224, sha256
from ._sha512 import sha384, sha512
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion hashlib/hashlib/sha224.py

This file was deleted.

1 change: 0 additions & 1 deletion hashlib/hashlib/sha384.py

This file was deleted.

10 changes: 8 additions & 2 deletions hashlib/test_hashlib.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
from hashlib.sha256 import test as sha256_test
from hashlib.sha512 import test as sha512_test
from hashlib._sha256 import test as sha256_test
from hashlib._sha512 import test as sha512_test
import hashlib

hashlib.sha224()
hashlib.sha256()
hashlib.sha384()
hashlib.sha512()

sha256_test()
sha512_test()

print("OK")