cubehash

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

Documentation

Index

Constants

View Source
const BlockSize = 32

The blocksize of cubehash in bytes.

View Source
const Size128 = 16
View Source
const Size160 = 20
View Source
const Size192 = 24
View Source
const Size224 = 28
View Source
const Size256 = 32
View Source
const Size384 = 48
View Source
const Size512 = 64

The size of an cubehash checksum in bytes.

Variables

This section is empty.

Functions

func GETU32 added in v1.0.2011

func GETU32(ptr []byte) uint32

func NewCubehash added in v1.0.2012

func NewCubehash(hashSize, blockSize, r, ir, fr int) hash.Hash

NewCubehash returns a new hash.Hash.

func NewHS128 added in v1.0.2013

func NewHS128() hash.Hash

NewHS128 returns a new hash.Hash.

func NewHS160 added in v1.0.2013

func NewHS160() hash.Hash

NewHS160 returns a new hash.Hash.

func NewHS192 added in v1.0.2013

func NewHS192() hash.Hash

NewHS192 returns a new hash.Hash.

func NewHS224 added in v1.0.2013

func NewHS224() hash.Hash

NewHS224 returns a new hash.Hash.

func NewHS256 added in v1.0.2013

func NewHS256() hash.Hash

NewHS256 returns a new hash.Hash.

func NewHS384 added in v1.0.2013

func NewHS384() hash.Hash

NewHS384 returns a new hash.Hash.

func NewHS512 added in v1.0.2013

func NewHS512() hash.Hash

NewHS512 returns a new hash.Hash.

func NewHS512x added in v1.0.2013

func NewHS512x() hash.Hash

NewHS512x returns a new hash.Hash.

func NewSH192 added in v1.0.2012

func NewSH192() hash.Hash

NewSH192 returns a new hash.Hash.

func NewSH224 added in v1.0.2012

func NewSH224() hash.Hash

NewSH224 returns a new hash.Hash.

func NewSH256 added in v1.0.2012

func NewSH256() hash.Hash

NewSH256 returns a new hash.Hash.

func NewSH512 added in v1.0.2012

func NewSH512() hash.Hash

NewSH512 returns a new hash.Hash.

func PUTU32 added in v1.0.2011

func PUTU32(ptr []byte, a uint32)

func SumHS128 added in v1.0.2013

func SumHS128(data []byte) (out [Size128]byte)

SumHS128 returns the cubehash checksum of the data.

func SumHS160 added in v1.0.2013

func SumHS160(data []byte) (out [Size160]byte)

SumHS160 returns the cubehash checksum of the data.

func SumHS192 added in v1.0.2013

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

SumHS192 returns the cubehash checksum of the data.

func SumHS224 added in v1.0.2013

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

SumHS224 returns the cubehash checksum of the data.

func SumHS256 added in v1.0.2013

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

SumHS256 returns the cubehash checksum of the data.

func SumHS384 added in v1.0.2013

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

SumHS384 returns the cubehash checksum of the data.

func SumHS512 added in v1.0.2013

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

SumHS512 returns the cubehash checksum of the data.

func SumSH192 added in v1.0.2013

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

SumSH192 returns the cubehash checksum of the data.

func SumSH224 added in v1.0.2013

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

SumSH224 returns the cubehash checksum of the data.

func SumSH256 added in v1.0.2013

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

SumSH256 returns the cubehash checksum of the data.

func SumSH512 added in v1.0.2013

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

SumSH512 returns the cubehash 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