...

Package ripemd160

import "golang.org/x/crypto/ripemd160"
Overview
Index

Overview ▾

Package ripemd160 implements the RIPEMD-160 hash algorithm.

Deprecated: RIPEMD-160 is a legacy hash and should not be used for new applications. Also, this package does not and will not provide an optimized implementation. Instead, use a modern hash like SHA-256 (from crypto/sha256).

Constants

The block size of the hash algorithm in bytes.

const BlockSize = 64

The size of the checksum in bytes.

const Size = 20

func New

func New() hash.Hash

New returns a new hash.Hash computing the checksum.