Module: Password

Defined in:
lib/yodel/models/security/password.rb

Class Method Summary collapse

Class Method Details

.hashed_password(password_salt, password) ⇒ Object



2
3
4
# File 'lib/yodel/models/security/password.rb', line 2

def self.hashed_password(password_salt, password)
  Digest::SHA1.hexdigest("#{password_salt}:#{password}")
end