DArgon2ErrorCode enum

The enum with all of the Argon2 Error codes, seen directly from the C Reference Library of Argon2. The codes are sent into the Exception object as well as used to retrieve the error message from the C library.

Inheritance
Available extensions

Values

ARGON2_OK → const DArgon2ErrorCode

No error

ARGON2_OUTPUT_PTR_NULL → const DArgon2ErrorCode

Outpointer null

ARGON2_OUTPUT_TOO_SHORT → const DArgon2ErrorCode

Output pointer too short

ARGON2_OUTPUT_TOO_LONG → const DArgon2ErrorCode

Output pointer too long

ARGON2_PWD_TOO_SHORT → const DArgon2ErrorCode

Password too short

ARGON2_PWD_TOO_LONG → const DArgon2ErrorCode

Password too long

ARGON2_SALT_TOO_SHORT → const DArgon2ErrorCode

Salt too short

ARGON2_SALT_TOO_LONG → const DArgon2ErrorCode

Salt too long

ARGON2_AD_TOO_SHORT → const DArgon2ErrorCode

Associated Data too short

ARGON2_AD_TOO_LONG → const DArgon2ErrorCode

Associated Data too long

ARGON2_SECRET_TOO_SHORT → const DArgon2ErrorCode

Secret too short

ARGON2_SECRET_TOO_LONG → const DArgon2ErrorCode

Secret too long

ARGON2_TIME_TOO_SMALL → const DArgon2ErrorCode

Time too short

ARGON2_TIME_TOO_LARGE → const DArgon2ErrorCode

Time too long

ARGON2_MEMORY_TOO_LITTLE → const DArgon2ErrorCode

Memory too small

ARGON2_MEMORY_TOO_MUCH → const DArgon2ErrorCode

Memory too large

ARGON2_LANES_TOO_FEW → const DArgon2ErrorCode

Too few lanes

ARGON2_LANES_TOO_MANY → const DArgon2ErrorCode

Too many lanes

ARGON2_PWD_PTR_MISMATCH → const DArgon2ErrorCode

Null password pointer with a given nonzero length

ARGON2_SALT_PTR_MISMATCH → const DArgon2ErrorCode

Null salt pointer with a given nonzero length

ARGON2_SECRET_PTR_MISMATCH → const DArgon2ErrorCode

Null secret pointer with a given nonzero length

ARGON2_AD_PTR_MISMATCH → const DArgon2ErrorCode

Null associated data pointer with a given nonzero length

ARGON2_MEMORY_ALLOCATION_ERROR → const DArgon2ErrorCode

Memory alloc error

ARGON2_FREE_MEMORY_CBK_NULL → const DArgon2ErrorCode

Null free memory call back

ARGON2_ALLOCATE_MEMORY_CBK_NULL → const DArgon2ErrorCode

Null allocation callback

ARGON2_INCORRECT_PARAMETER → const DArgon2ErrorCode

Context is null

ARGON2_INCORRECT_TYPE → const DArgon2ErrorCode

No such type of Argon2

ARGON2_OUT_PTR_MISMATCH → const DArgon2ErrorCode

Output pointer mismatch

ARGON2_THREADS_TOO_FEW → const DArgon2ErrorCode

Too few threads

ARGON2_THREADS_TOO_MANY → const DArgon2ErrorCode

Too many threads

ARGON2_MISSING_ARGS → const DArgon2ErrorCode

Missing arguments

ARGON2_ENCODING_FAIL → const DArgon2ErrorCode

Encoding failed

ARGON2_DECODING_FAIL → const DArgon2ErrorCode

Decoding failed

ARGON2_THREAD_FAIL → const DArgon2ErrorCode

Threading failed

ARGON2_DECODING_LENGTH_FAIL → const DArgon2ErrorCode

Some parameters are too short/long

ARGON2_VERIFY_MISMATCH → const DArgon2ErrorCode

Verification mismatch

ARGON2_UNKNOWN_ERROR → const DArgon2ErrorCode

Unknown error

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<DArgon2ErrorCode>
A constant List of the values in this enum, in order of their declaration.