hashers

package
v0.0.0-...-05b5bfe Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenericBase64Validator

func GenericBase64Validator(hasher Hasher, data string) bool

Types

type Hasher

type Hasher interface {
	Example() string
	DecodeInput(data string) []byte
	Hash(datas []string) [][]byte
	Compare(transformedData []byte, referenceData []byte) bool
	ProcessWithWildcard(charSet []string, saltBefore string, saltAfter string, numberOfWildCards int, expectedDigest string) string
	IsValid(data string) bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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