summaryrefslogtreecommitdiff
path: root/lib/trocla/formats/md5crypt.rb
blob: 36e3a3cf50de2e233400eb7b2c129b8f066a886b (plain)
1
2
3
4
5
6
# salted crypt
class Trocla::Formats::Md5crypt
  def format(plain_password,options={})
     plain_password.crypt('$1$' << Trocla::Util.salt << '$')
  end
end