chaskey

package
v1.0.2036 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const BlockSize = 16

The blocksize of chaskey in bytes.

View Source
const KeySize = 16
View Source
const Size = 16

The size of an chaskey checksum in bytes.

Variables

This section is empty.

Functions

func New

func New(key []byte) (hash.Hash, error)

New returns a new hash.Hash computing the chaskey checksum New returns a new 8-round chaskey hasher.

func New12

func New12(key []byte) (hash.Hash, error)

New12 returns a new 12-round chaskey hasher.

Types

type KeySizeError

type KeySizeError int

func (KeySizeError) Error

func (k KeySizeError) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL