1 parent 7db79d8 commit 251b004Copy full SHA for 251b004
1 file changed
tests/extmod/uhashlib_sha256.py
@@ -23,6 +23,9 @@
23
24
print(hashlib.sha256(b"\xff" * 64).digest())
25
26
+# 56 bytes is a boundary case in the algorithm
27
+print(hashlib.sha256(b"\xff" * 56).digest())
28
+
29
# TODO: running .digest() several times in row is not supported()
30
#h = hashlib.sha256(b'123')
31
#print(h.digest())
0 commit comments