class Trocla::Formats::Md5crypt

salted crypt

Public Instance Methods

format(plain_password,options={}) click to toggle source
# File lib/trocla/formats/md5crypt.rb, line 3
def format(plain_password,options={})
   plain_password.crypt('$1$' << Trocla::Util.salt << '$')
end