Securing passwords in Rails
2 min readMay 9, 2021
Protecting sensitive data in Rails is very important when building an application that deals with user accounts or anything that requires a passcode/password. Because who wants the world knowing or having access to their password the answer should be no one of course. But thanks to computer scientists Niels Provos and David Mazières for designing a password hashing function to properly secure your sensitive passwords. The function the two computer scientists designed is called Bcrypt which uses a 128-bit salt and encrypts a 192-bit magic value to secure a password.