# Functions
Decode the encoded digest into a algorithm.Digest.
DecodeVariant the encoded digest into a algorithm.Digest provided it matches the provided bcrypt.Variant.
New returns a new bcrypt.Hasher with the provided functional options applied.
NewSHA256 returns a new bcrypt.Hasher with the provided functional options applied as well as the bcrypt.VariantSHA256 applied via the bcrypt.WithVariant bcrypt.Opt.
NewVariant converts an identifier string to a bcrypt.Variant.
RegisterDecoder the decoder with the algorithm.DecoderRegister.
RegisterDecoderSHA256 registers specifically the sha256 decoder variant with the algorithm.DecoderRegister.
RegisterDecoderStandard registers specifically the standard decoder variant with the algorithm.DecoderRegister.
WithCost is an alias for bcrypt.WithIterations.
WithIterations sets the iterations parameter of the resulting bcrypt.Digest.
WithVariant is used to configure the bcrypt.Variant of the resulting bcrypt.Digest.
WithVariantName uses the variant name or identifier to configure the bcrypt.Variant of the resulting bcrypt.Digest.
# Constants
AlgIdentifier is the identifier used in this algorithm.
AlgIdentifierUnversioned is the identifier used in this algorithm (no version).
AlgIdentifierVariantSHA256 is the identifier used in encoded SHA256 variant of this algorithm.
AlgIdentifierVerA is the identifier used in this algorithm (version a).
AlgIdentifierVerX is the identifier used in this algorithm (version x).
AlgIdentifierVerY is the identifier used in this algorithm (version y).
AlgName is the name for this algorithm.
EncodingFmt is the encoding format for this algorithm.
EncodingFmtSHA256 is the encoding format for the SHA256 variant of this algorithm.
IterationsDefault is the default iterations.
IterationsMax is the maximum iterations accepted.
IterationsMin is the minimum iterations accepted.
PasswordInputSizeMax is the maximum password input size accepted.
VariantNameSHA256 is the variant name of the bcrypt.VariantSHA256.
VariantNameStandard is the variant name of the bcrypt.VariantStandard.
VariantNone is a variant of the bcrypt.Digest which is unknown.
VariantSHA256 is the variant of bcrypt.Digest which hashes the password with HMAC-SHA256.
VariantStandard is the standard variant of bcrypt.Digest.