hash

package
v1.14.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 0 Imported by: 5

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL