HackRU / lcs

The backend for HackRU's website. Manages the user system.
http://hackru.org
MIT License
6 stars 5 forks source link

Bcrypt, tune gensalt #40

Closed hemangandhi closed 5 years ago

hemangandhi commented 6 years ago

Our use of bcrypt.gensalt is too slow by default. We need to find a number that tunes it just right: fewer rounds = less secure, more rounds = too much time.