blake2b

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BLAKE2b

type BLAKE2b struct{}

BLAKE2b is the Blake2b hashing method

func New

func New() *BLAKE2b

New creates a new Blake2b hashing method

func (*BLAKE2b) Hash

func (h *BLAKE2b) Hash(data ...[]byte) []byte

Hash generates a BLAKE2b hash from input byte arrays

func (*BLAKE2b) HashLength

func (h *BLAKE2b) HashLength() int

HashLength returns the length of hashes generated by Hash() in bytes

Jump to

Keyboard shortcuts

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