@nakov/

SHA3 256 hello in Python

Python

Calculate SHA3-256('hello') in Python

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
import hashlib, binascii

sha3_256hash = hashlib.sha3_256(b'hello').digest()
print("SHA3-256('hello') =", binascii.hexlify(sha3_256hash))