blake2b

package
v2.0.0-...-56bf166 Latest Latest
Warning

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

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

Documentation

Overview

Package blake2b provides hashing using the BLAKE 2b system.

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.

func (*BLAKE2b) HashName

func (h *BLAKE2b) HashName() string

HashName returns the name of this hash.

Jump to

Keyboard shortcuts

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