Using bcrypt to encrypt a string in Python with randomly generated salt:
import bcrypt
password = b"SuperSercet34"
hashed = bcrypt.hashpw(password, bcrypt.gensalt())
print(hashed)
Using bcrypt to encrypt a password in Python
Using bcrypt to encrypt a string in Python with randomly generated salt:
import bcrypt
password = b"SuperSercet34"
hashed = bcrypt.hashpw(password, bcrypt.gensalt())
print(hashed)
Leave feedback in the comments!
Log in or sign up for Devpost to join the conversation.