public

  • Download Gist
password_encryption_with_BCrypt.rb
Ruby
1 2
salt = BCrypt::Engine.generate_salt
encrypted_password = BCrypt::Engine.hash_secret(password, salt)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.