hash

package
v1.50.7 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareWithHashString

func CompareWithHashString(source any, targetHashString string) (bool, error)

func ToHashString

func ToHashString(alg Algorithm, source any) (string, error)

Types

type Algorithm

type Algorithm string
const (
	SHA256 Algorithm = "sha256"
)

Jump to

Keyboard shortcuts

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