hasher

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hasher

type Hasher interface {
	// Hash вычисляет хэш переданной строки
	Hash(data string) (string, error)
	// IsValid проверяет хэш переданной строки
	IsValid(data string, hash string) (bool, error)
}

Hasher общий интерфейс, реализуемый хэш-функциями

Directories

Path Synopsis
Package mock_hasher is a generated GoMock package.
Package mock_hasher is a generated GoMock package.

Jump to

Keyboard shortcuts

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