shabal

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// hash size
	Size192 = 24
	Size224 = 28
	Size256 = 32
	Size384 = 48
	Size512 = 64

	BlockSize = 64
)

Variables

This section is empty.

Functions

func New

func New(outSize int) (hash.Hash, error)

New returns a new hash.Hash computing the shabal checksum

func New192

func New192() hash.Hash

New192 returns a new hash.Hash computing the shabal-192 checksum

func New224

func New224() hash.Hash

New224 returns a new hash.Hash computing the shabal-224 checksum

func New256

func New256() hash.Hash

New256 returns a new hash.Hash computing the shabal-256 checksum

func New384

func New384() hash.Hash

New384 returns a new hash.Hash computing the shabal-384 checksum

func New512

func New512() hash.Hash

New512 returns a new hash.Hash computing the shabal-512 checksum

func Sum192

func Sum192(data []byte) (out [Size192]byte)

Sum192 returns the shabal-192 checksum of the data.

func Sum224

func Sum224(data []byte) (out [Size224]byte)

Sum224 returns the shabal-224 checksum of the data.

func Sum256

func Sum256(data []byte) (out [Size256]byte)

Sum256 returns the shabal-256 checksum of the data.

func Sum384

func Sum384(data []byte) (out [Size384]byte)

Sum384 returns the shabal-384 checksum of the data.

func Sum512

func Sum512(data []byte) (out [Size512]byte)

Sum512 returns the shabal-512 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