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