hash

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func H

func H(input []byte, using Engine) ([]byte, error)

func IsAvailableEngine

func IsAvailableEngine(engine Engine) bool

Types

type Engine

type Engine string

Engine defines a 256-bits hash algorithm to use

const (
	BLAKE2b Engine = "blake-2b-256"
	KECCAK  Engine = "keccak-256"
	SHA_256 Engine = "sha-256"
	SHA_3   Engine = "sha3-256"
)

Jump to

Keyboard shortcuts

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