Documentation
¶
Index ¶
- Constants
- func NewCubehash(hashSize, blockSize, r, ir, fr int) hash.Hash
- func NewHS128() hash.Hash
- func NewHS160() hash.Hash
- func NewHS192() hash.Hash
- func NewHS224() hash.Hash
- func NewHS256() hash.Hash
- func NewHS384() hash.Hash
- func NewHS512() hash.Hash
- func NewHS512x() hash.Hash
- func NewSH192() hash.Hash
- func NewSH224() hash.Hash
- func NewSH256() hash.Hash
- func NewSH512() hash.Hash
- func SumHS128(data []byte) (out [Size128]byte)
- func SumHS160(data []byte) (out [Size160]byte)
- func SumHS192(data []byte) (out [Size192]byte)
- func SumHS224(data []byte) (out [Size224]byte)
- func SumHS256(data []byte) (out [Size256]byte)
- func SumHS384(data []byte) (out [Size384]byte)
- func SumHS512(data []byte) (out [Size512]byte)
- func SumSH192(data []byte) (out [Size192]byte)
- func SumSH224(data []byte) (out [Size224]byte)
- func SumSH256(data []byte) (out [Size256]byte)
- func SumSH512(data []byte) (out [Size512]byte)
Constants ¶
View Source
const ( // The size of an cubehash checksum in bytes. Size512 = 64 Size384 = 48 Size256 = 32 Size224 = 28 Size192 = 24 Size160 = 20 Size128 = 16 )
View Source
const BlockSize = 32
The blocksize of cubehash in bytes.
Variables ¶
This section is empty.
Functions ¶
func NewCubehash ¶ added in v1.0.2012
NewCubehash returns a new hash.Hash.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.