Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  import bcrypt
  hashed = bcrypt.hashpw(password, bcrypt.gensalt(log_rounds=13))
Increasing log_rounds by one increases the work factor exponentially (2 * * log_rounds).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: