ripemd160

package
v2.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: Apache-2.0 Imports: 1 Imported by: 76

Documentation

Overview

Package ripemd160 implements the RIPEMD-160 hash algorithm.

Index

Constants

View Source
const BlockSize = 64

The block size of the hash algorithm in bytes.

View Source
const Size = 20

The size of the checksum in bytes.

Variables

This section is empty.

Functions

func New

func New() hash.Hash

New returns a new hash.Hash computing the checksum.

Types

type Digest added in v1.20.0

type Digest struct {
	// contains filtered or unexported fields
}

Digest represents the partial evaluation of a checksum.

func (*Digest) BlockSize added in v1.20.0

func (d *Digest) BlockSize() int

func (*Digest) Reset added in v1.20.0

func (d *Digest) Reset()

func (*Digest) Size added in v1.20.0

func (d *Digest) Size() int

func (*Digest) Sum added in v1.20.0

func (d *Digest) Sum(res []byte) []byte

func (*Digest) Write added in v1.20.0

func (d *Digest) Write(p []byte) (nn int, err error)

Jump to

Keyboard shortcuts

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