Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hash ¶
type Hash interface {
// Make returns the hashed value of the given string.
Make(value string) (string, error)
// Check checks if the given string matches the given hash.
Check(value string, hashedValue string) bool
// NeedsRehash checks if the given hash needs to be rehashed.
NeedsRehash(hashedValue string) bool
}
Click to show internal directories.
Click to hide internal directories.