6 lines
198 B
Python
6 lines
198 B
Python
import hashlib
|
|
original=b"study record v1"
|
|
restored=bytes(original)
|
|
assert hashlib.sha256(original).digest()==hashlib.sha256(restored).digest()
|
|
print("Bytes match; application checks still needed")
|