package
0.2.25
Repository: https://github.com/go-crypt/crypt.git
Documentation: pkg.go.dev

# Functions

Decode the encoded digest into a algorithm.Digest.
New returns a *sha1crypt.Hasher with the additional opts applied if any.
RegisterDecoder the decoder with the algorithm.DecoderRegister.
RegisterDecoderCommon registers specifically the common decoder variant with the algorithm.DecoderRegister.
WithIterations sets the iterations parameter of the resulting sha1crypt.Digest.
WithRounds is an alias for sha1crypt.WithIterations.
WithSaltLength adjusts the salt size (in bytes) of the resulting sha1crypt.Digest.

# Constants

AlgIdentifier is the identifier used in this algorithm.
AlgName is the name for this algorithm.
EncodingFmt is the encoding format for this algorithm.
IterationsDefault is the default iterations.
IterationsMax is the maximum iterations accepted.
IterationsMin is the minimum iterations accepted.
SaltCharSet are the valid characters for the salt.
SaltLengthDefault is the default salt size.
SaltLengthMax is the maximum salt size accepted.
SaltLengthMin is the minimum salt size accepted.

# Structs

Digest is a algorithm.Digest which handles sha1crypt hashes.
Hasher is a crypt.Hash for sha1crypt which can be initialized via sha1crypt.New using a functional options pattern.

# Type aliases

Opt describes the functional option pattern for the sha1crypt.Hasher.