Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Hasher ¶ added in v1.1.0
type Hasher interface { // Make a hash value from the given value. Make(value string) (string, error) // MustMake a hash value from the given value. // If an error occurs, it will panic. MustMake(value string) string // Check the given value matches the given hashed value. // If you Make() is error, it will return false. Check(value, hashedValue string) bool }
Click to show internal directories.
Click to hide internal directories.