package
0.11.6
Repository: https://github.com/sql2/vault.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewSalt creates a new salt based on the configuration.
SaltID is used to apply a salt and hash function to an ID to make sure it is not reversible.
SHA1Hash returns the SHA1 of the input.
SHA256Hash returns the SHA256 of the input.

# Constants

DefaultLocation is the path in the view we store our key salt if no other path is provided.

# Structs

Config is used to parameterize the Salt.
Salt is used to manage a persistent salt key which is used to hash values.

# Type aliases

No description provided by the author