Sha256: 04d7ab53f189cacfad0f6d24b5cbdc95358af2bc3c5dfb6af5eb8257c1d7aa74

Contents?: true

Size: 551 Bytes

Versions: 3

Compression:

Stored size: 551 Bytes

Contents

# Classes
module Argon2
  class Password
    @t_cost: Integer
    @m_cost: Integer
    @p_cost: Integer
    @salt: nil | String
    @secret: nil | String

    def initialize: (?::Hash[untyped, untyped] options) -> void
    def create: (String pass) -> untyped
    def self.create: (String pass) -> untyped
    def self.valid_hash?: (string hash) -> Integer?
    def self.verify_password: (untyped pass, untyped hash, ?nil secret) -> untyped
  end
  class Engine
    def self.saltgen: () -> String
  end
  class ArgonHashFail < StandardError
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
argon2-2.2.0 sig/argon2.rbs
argon2-2.1.3 sig/argon2.rbs
argon2-2.1.2 sig/argon2.rbs