package crypterrors
Import Path
go.pact.im/x/crypt/crypterrors (on go.dev)
Dependency Relation
imports one package, and imported by one package
Involved Source Files
Package crypterrors defines errors that can be returned from crypt.Crypter
implementations.
Package-Level Type Names (total 8, all are exported)
InvalidOutputLengthError is an error that is returned if the crypt.Crypter
implementation receives a hash output with invalid length for the password
hashing algorithm.
Expected is the free-form description of the expected length.
Length is the given function output length.
Error implements the error interface.
*InvalidOutputLengthError : error
InvalidParameterValueError is an error that is returned if the crypt.Crypter
implementation receives an invalid hash function parameter value.
Expected is a free-form expected format of the value.
Name is the name of the parameter.
Value is the value of the parameter.
Error implements the error interface.
*InvalidParameterValueError : error
MalformedHashError is an error that is returned if the crypt.Crypter
implementation receives a malformed PHC formatted string.
Hash is the malformed PHC formatted hash string.
Error implements the error interface.
*MalformedHashError : error
MalformedParametersError is an error that is returned if the crypt.Crypter
implementation receives a malformed hash function parameters.
Unparsed is the unparsed parameters string.
Error implements the error interface.
*MalformedParametersError : error
MissingRequiredParametersError is an error that is returned if the
crypt.Crypter implementation does not receive one of the required hash
function parameters.
Required is the free-form description of the required parameters.
Error implements the error interface.
*MissingRequiredParametersError : error
UnsupportedHashError is an error that is returned if the crypt.Crypter
implementation does not support the requested hash function.
HashID is the ID of the unsupported hash function.
Error implements the error interface.
*UnsupportedHashError : error
UnsupportedParameterError is an error that is returned if the crypt.Crypter
implementation does not support the given parameter for a hash function.
Name is the name of the parameter.
Unimplemented indicates that the parameter is defined but not
implemented.
Error implements the error interface.
*UnsupportedParameterError : error
UnsupportedVersionError is an error that is returned if the crypt.Crypter
implementation does not support the requested hash function version.
Parsed is the parsed unsupported version.
Suggested is the suggested supported version.
Error implements the error interface.
*UnsupportedVersionError : error
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)