has160

package
v1.0.2010 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const BlockSize = 64

The blocksize of HAS-160 in bytes.

View Source
const Size = 20

The size of a HAS-160 checksum in bytes.

Variables

This section is empty.

Functions

func MemsetByte

func MemsetByte(a []byte, v byte)

func New

func New() hash.Hash

New returns a new hash.Hash computing the HAS-160 checksum.

func Sum

func Sum(data []byte) (sum [Size]byte)

Sum returns the HAS-160 checksum of the data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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