Unanswered
Dikshagohlyan@Dikshas-Mbp ~ % Python3 -C 'Import Bcrypt,Base64; Print(Base64.B64Encode(Bcrypt.Hashpw("Pleasechange".Encode(), Bcrypt.Gensalt())))'
Traceback (Most Recent Call Last):
File "<String>", Line 1, In <Module>
File "/Opt/Homebrew/Cellar/Pytho
This seems like a change in bcrypt for python 3.9?
Can you try:python3 -c 'import bcrypt,base64; print(base64.b64encode(bcrypt.hashpw("pleasechange".encode(), bcrypt.gensalt()).encode('utf-8')))'
194 Views
0
Answers
2 years ago
one year ago