Sha256: af245af61ec7cb2eb21a12eade39c8c0e2e32d7366405596ba22279d97c2e2df

Contents?: true

Size: 185 Bytes

Versions: 13

Compression:

Stored size: 185 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
trocla-0.4.0 lib/trocla/formats/sha512crypt.rb
trocla-ruby2-0.4.0 lib/trocla/formats/sha512crypt.rb
trocla-0.3.0 lib/trocla/formats/sha512crypt.rb
trocla-0.2.3 lib/trocla/formats/sha512crypt.rb
trocla-0.2.2 lib/trocla/formats/sha512crypt.rb
trocla-0.2.1 lib/trocla/formats/sha512crypt.rb
trocla-0.2.0 lib/trocla/formats/sha512crypt.rb
trocla-0.1.2 lib/trocla/formats/sha512crypt.rb
trocla-0.1.1 lib/trocla/formats/sha512crypt.rb
trocla-0.1.0 lib/trocla/formats/sha512crypt.rb
trocla-0.0.12 lib/trocla/formats/sha512crypt.rb
trocla-0.0.11 lib/trocla/formats/sha512crypt.rb
trocla-0.0.10 lib/trocla/formats/sha512crypt.rb