Mind Dump, Tech And Life Blog
written by Ivan Alenko
published under license Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)copy! share!
posted at 24. Aug '21

Howto Check Equality of BCrypt Password

require 'bcrypt'
my_password = BCrypt::Password.new(encrypted_password)
my_password == '123456'

Add Comment