bmw

package
v1.0.2018 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// hash size
	Size = 32

	BlockSize = 64
)

Variables

This section is empty.

Functions

func GETU32

func GETU32(ptr []byte) uint32

func New

func New() hash.Hash

New returns a new hash.Hash computing the bmw checksum

func PUTU32

func PUTU32(ptr []byte, a uint32)

func PUTU64

func PUTU64(ptr []byte, a uint64)

func Sum

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

Sum returns the bmw-256 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