radio_gatun

package
v1.0.2023 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// hash size
	Size32 = 32

	BlockSize32 = 156
)
View Source
const (
	// hash size
	Size64 = 32

	BlockSize64 = 312
)

Variables

This section is empty.

Functions

func New32

func New32() hash.Hash

New32 returns a new hash.Hash computing the RadioGatun-32 checksum

func New64

func New64() hash.Hash

New64 returns a new hash.Hash computing the RadioGatun-64 checksum

func Sum32

func Sum32(data []byte) (out [Size32]byte)

Sum32 returns the RadioGatun-32 checksum of the data.

func Sum64

func Sum64(data []byte) (out [Size64]byte)

Sum64 returns the RadioGatun-64 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