Class: UserAuth::PasswordHasher

Inherits:
Object
  • Object
show all
Defined in:
lib/user_auth/password_hasher.rb

Instance Method Summary collapse

Instance Method Details

#hash_plaintext(plaintext) ⇒ Object



5
6
7
# File 'lib/user_auth/password_hasher.rb', line 5

def hash_plaintext(plaintext)
  BCrypt::Password.create(plaintext)
end