package
1.0.0
Repository: https://github.com/aaronland/go-string.git
Documentation: pkg.go.dev

# Functions

DefaultOptions returns an `SaltOptions` instance with no limits or restrictions save a minimum length of 32 bytes.
IsValidSalt returns a boolean value indicating whether 's' can be used a salt.
NewRandomSalt return a new `Salt` instance for a random string configured by 'opts'.
NewSaltFromString returns a new `Salt` instance derived from 's'.

# Structs

Salt is a struct containing methods and values that can be used as (hashing) salts.
SaltOptions is a struct containing configuration options for the `NewRandomSalt` method.