📅  最后修改于: 2022-03-11 14:45:34.940000             🧑  作者: Mango
from hashlib import sha256
import math
your_data = "1234"
your_data = your_data.hex()
hash_result = sha256(str(your_data).encode())
result = hash_result.hexdigest()
print('Result: ',str(result))
#code by fawlid