Sha256: 6c3125faebb97a02b6a48cae537f5bcd020ab2f70fe80e6e4dda3b9a8da08d60

Contents?: true

Size: 187 Bytes

Versions: 2

Compression:

Stored size: 187 Bytes

Contents

# salted crypt
class Trocla::Formats::Sha256crypt < Trocla::Formats::Base
  def format(plain_password, options = {})
    plain_password.crypt('$5$' << Trocla::Util.salt << '$')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trocla-0.5.1 lib/trocla/formats/sha256crypt.rb
trocla-0.5.0 lib/trocla/formats/sha256crypt.rb