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