The solution I’ve found is to simply encode the data right away in the line where you’re hashing it:
hashlib.sha256("a".encode('utf-8')).hexdigest()
It worked for me, hope it helps!
The solution I’ve found is to simply encode the data right away in the line where you’re hashing it:
hashlib.sha256("a".encode('utf-8')).hexdigest()
It worked for me, hope it helps!