class UserAuth::PasswordHasher

Public Instance Methods

hash_plaintext(plaintext) click to toggle source
# File lib/user_auth/password_hasher.rb, line 5
def hash_plaintext(plaintext)
  BCrypt::Password.create(plaintext)
end