ripemd

package module
v0.0.0-...-bd1759a Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 2 Imported by: 1

README

go-ripemd

Native golang implements of ripemd128, ripemd160, ripemd256 and ripemd320

ripemd160 is same to golang.org/x/crypto/ripemd160

128 256 and 320 follow its pattern, and are guided by https://homes.esat.kuleuven.be/~bosselae/ripemd/rmd128.txt https://homes.esat.kuleuven.be/~bosselae/ripemd/rmd256.txt and https://homes.esat.kuleuven.be/~bosselae/ripemd/rmd320.txt

Documentation

Index

Constants

View Source
const (
	// The size of the checksum in bytes.
	Size128 = 16

	// The block size of the hash algorithm in bytes.
	BlockSize128 = 64
)
View Source
const (
	// The size of the checksum in bytes.
	Size256 = 32

	// The block size of the hash algorithm in bytes.
	BlockSize256 = 64
)
View Source
const (
	// The size of the checksum in bytes.
	Size320 = 40

	// The block size of the hash algorithm in bytes.
	BlockSize320 = 64
)
View Source
const BlockSize160 = 64

The block size of the hash algorithm in bytes.

View Source
const Size160 = 20

The size of the checksum in bytes.

Variables

This section is empty.

Functions

func New128

func New128() hash.Hash

func New160

func New160() hash.Hash

New160 returns a new hash.Hash computing the checksum.

func New256

func New256() hash.Hash

func New320

func New320() hash.Hash

Types

This section is empty.

Jump to

Keyboard shortcuts

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