Sha256: 2a9efac72bcacff3f57a5702104604aeff2cfa9ae476132f460d8bfecc4d0e7f

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

module Argon2
  class ArgonHashFail < StandardError; end
  ERRORS = [
    'ARGON2_OK', 
    'ARGON2_OUTPUT_PTR_NULL', 
    'ARGON2_OUTPUT_TOO_SHORT', 
    'ARGON2_OUTPUT_TOO_LONG', 
    'ARGON2_PWD_TOO_SHORT', 
    'ARGON2_PWD_TOO_LONG', 
    'ARGON2_SALT_TOO_SHORT', 
    'ARGON2_SALT_TOO_LONG', 
    'ARGON2_AD_TOO_SHORT', 
    'ARGON2_AD_TOO_LONG', 
    'ARGON2_SECRET_TOO_SHORT', 
    'ARGON2_SECRET_TOO_LONG', 
    'ARGON2_TIME_TOO_SMALL', 
    'ARGON2_TIME_TOO_LARGE', 
    'ARGON2_MEMORY_TOO_LITTLE', 
    'ARGON2_MEMORY_TOO_MUCH', 
    'ARGON2_LANES_TOO_FEW', 
    'ARGON2_LANES_TOO_MANY', 
    'ARGON2_PWD_PTR_MISMATCH', 
    'ARGON2_SALT_PTR_MISMATCH', 
    'ARGON2_SECRET_PTR_MISMATCH', 
    'ARGON2_AD_PTR_MISMATCH',
    'ARGON2_MEMORY_ALLOCATION_ERROR', 
    'ARGON2_FREE_MEMORY_CBK_NULL', 
    'ARGON2_ALLOCATE_MEMORY_CBK_NULL', 
    'ARGON2_INCORRECT_PARAMETER', 
    'ARGON2_INCORRECT_TYPE', 
    'ARGON2_OUT_PTR_MISMATCH', 
    'ARGON2_THREADS_TOO_FEW', 
    'ARGON2_THREADS_TOO_MANY', 
    'ARGON2_MISSING_ARGS'
    ]
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
argon2-0.0.2 lib/argon2/errors.rb