cryptogolang.org/x/crypto/ripemd160 Index | Files

package ripemd160

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

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).

Index

Constants

const BlockSize = 64

The block size of the hash algorithm in bytes.

const Size = 20

The size of the checksum in bytes.

Functions

func New

func New() hash.Hash

New returns a new hash.Hash computing the checksum.

Source Files

ripemd160.go ripemd160block.go

Version
v0.34.0 (latest)
Published
Feb 22, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
9 hours ago

Tools for package owners.