Sha256: 5e9f40b0b6ac97463d81856bfebdb43cfb60d36165f8eae8d05083d594ae2661

Contents?: true

Size: 298 Bytes

Versions: 6

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true
module Argon2
  # Constants utilised in several parts of the Argon2 module
  # SALT_LEN is a standard recommendation from the Argon2 spec.
  module Constants
    SALT_LEN = 16
    OUT_LEN = 32 # Binary, unencoded output
    ENCODE_LEN = 108 # Encoded output
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
argon2-1.1.4 lib/argon2/constants.rb
argon2-1.1.3 lib/argon2/constants.rb
argon2-1.1.2 lib/argon2/constants.rb
argon2-1.1.1 lib/argon2/constants.rb
argon2-1.1.0 lib/argon2/constants.rb
argon2-1.0.0 lib/argon2/constants.rb