whirlpool

package
v0.0.0-...-3206184 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package whirlpool implements the Whirlpool hash function.

Index

Constants

View Source
const (
	// The blocksize of Whirlpool in bytes.
	BlockSize = 64

	// The hash size of Whirlpool in bytes.
	Size = 64
)

Variables

This section is empty.

Functions

func New

func New() hash.Hash

New returns a new hash.Hash computing the Whirlpool checksum.

func Sum

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

Sum returns the Whirlpool 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