bcrypt API Reference

Full documentation for bcrypt (5.0.0)

bcrypt.checkpw
Python Library Documentation: built-in function checkpw in module bcrypt._bcrypt

checkpw(password, hashed_password)
bcrypt.gensalt
Python Library Documentation: built-in function gensalt in module bcrypt._bcrypt

gensalt(rounds=12, prefix=b'2b')
bcrypt.hashpw
Python Library Documentation: built-in function hashpw in module bcrypt._bcrypt

hashpw(password, salt)
bcrypt.kdf
Python Library Documentation: built-in function kdf in module bcrypt._bcrypt

kdf(password, salt, desired_key_bytes, rounds, ignore_few_rounds=False)