hash

package
v1.13.10 Latest Latest
Warning

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

Go to latest
Published: May 25, 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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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