# Functions
Decode the encoded digest into a algorithm.Digest.
DecodeVariant the encoded digest into a algorithm.Digest provided it matches the provided pbkdf2.Variant.
New returns a *pbkdf2.Hasher with the additional opts applied if any.
NewSHA1 returns a SHA1 variant *pbkdf2.Hasher with the additional opts applied if any.
NewSHA224 returns a SHA224 variant *pbkdf2.Hasher with the additional opts applied if any.
NewSHA256 returns a SHA256 variant *pbkdf2.Hasher with the additional opts applied if any.
NewSHA384 returns a SHA384 variant *pbkdf2.Hasher with the additional opts applied if any.
NewSHA512 returns a SHA512 variant *pbkdf2.Hasher with the additional opts applied if any.
NewVariant converts an identifier string to a pbkdf2.Variant.
RegisterDecoder the decoder with the algorithm.DecoderRegister.
RegisterDecoderSHA1 registers specifically the sha1 decoder variant with the algorithm.DecoderRegister.
RegisterDecoderSHA224 registers specifically the sha224 decoder variant with the algorithm.DecoderRegister.
RegisterDecoderSHA256 registers specifically the sha256 decoder variant with the algorithm.DecoderRegister.
RegisterDecoderSHA384 registers specifically the sha384 decoder variant with the algorithm.DecoderRegister.
RegisterDecoderSHA512 registers specifically the sha512 decoder variant with the algorithm.DecoderRegister.
WithIterations sets the iterations parameter of the resulting pbkdf2.Digest.
WithKeyLength adjusts the tag length (in bytes) of the resulting pbkdf2.Digest.
WithSaltLength adjusts the salt size (in bytes) of the resulting pbkdf2.Digest.
WithVariant configures the pbkdf2.Variant of the resulting pbkdf2.Digest.
WithVariantName uses the variant name or identifier to configure the pbkdf2.Variant of the resulting pbkdf2.Digest.
# Constants
AlgIdentifier is the identifier used in encoded digests for this algorithm.
AlgIdentifierSHA1 is the identifier used in encoded SHA1 variants of this algorithm.
AlgIdentifierSHA224 is the identifier used in encoded SHA224 variants of this algorithm.
AlgIdentifierSHA256 is the identifier used in encoded SHA256 variants of this algorithm.
AlgIdentifierSHA384 is the identifier used in encoded SHA384 variants of this algorithm.
AlgIdentifierSHA512 is the identifier used in encoded SHA512 variants of this algorithm.
AlgName is the name for this algorithm.
EncodingFmt is the encoding format for this algorithm.
IterationsDefaultSHA1 is the default iterations for algorithms SHA1 and SHA224.
IterationsDefaultSHA256 is the default iterations for algorithms SHA256 and SHA384.
IterationsDefaultSHA512 is the default iterations for algorithms SHA512.
IterationsMax is the maximum iterations accepted.
IterationsMin is the minimum iterations accepted.
KeyLengthMax is the maximum tag size accepted.
SaltLengthMax is the maximum salt size accepted.
SaltLengthMin is the minimum salt size accepted.
VariantNone is a variant of the pbkdf2.Digest which is unknown.
VariantSHA1 is a variant of the pbkdf2.Digest which uses HMAC-SHA-1.
VariantSHA224 is a variant of the pbkdf2.Digest which uses HMAC-SHA-224.
VariantSHA256 is a variant of the pbkdf2.Digest which uses HMAC-SHA-256.
VariantSHA384 is a variant of the pbkdf2.Digest which uses HMAC-SHA-384.
VariantSHA512 is a variant of the pbkdf2.Digest which uses HMAC-SHA-512.