Hi,
Can anyone tell me the hash encryption level for a password using acts
as authenticated 128bit, 164bit???
require ‘digest/sha1’
Encrypts some data with the salt.
def self.encrypt(password, salt)
Digest::SHA1.hexdigest("–#{salt}–#{password}–")
end
JB