3 ms·
import bcrypt hashed = bcrypt.hashpw(password, bcrypt.gensalt(log_rounds=13)) Increasing log_rounds by one increases the work factor exponentially (2 * * log
by marcinw 16y ago
import bcrypt
hashed = bcrypt.hashpw(password, bcrypt.gensalt(log_rounds=13))
Increasing log_rounds by one increases the work factor exponentially (2 * * log_rounds).