hash

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blake2b

func Blake2b(data ...[]byte) common.Hash

Blake2b computes blake2b-256 checksum for given data.

func Blake2bFn

func Blake2bFn(fn func(w io.Writer)) (h common.Hash)

Blake2bFn computes blake2b-256 checksum for the provided writer.

func Keccak256

func Keccak256(data ...[]byte) (h common.Hash)

Keccak256 computes keccak256 checksum for given data.

func NewBlake2b

func NewBlake2b() hash.Hash

NewBlake2b return blake2b-256 hash.

Types

This section is empty.

Jump to

Keyboard shortcuts

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