Documentation ¶
Index ¶
- Constants
- Variables
- func LUI(a uint32) int
- func New(hashbitlen int) (hash.Hash, error)
- func New160() hash.Hash
- func New224() hash.Hash
- func New256() hash.Hash
- func New384() hash.Hash
- func New512() hash.Hash
- func Sum(data []byte, hashbitlen int) (sum []byte, err error)
- func Sum160(data []byte) (sum160 [Size160]byte)
- func Sum224(data []byte) (sum224 [Size224]byte)
- func Sum256(data []byte) (sum256 [Size256]byte)
- func Sum384(data []byte) (sum384 [Size384]byte)
- func Sum512(data []byte) (sum512 [Size512]byte)
Constants ¶
View Source
const ( // hash size Size160 = 20 Size224 = 28 Size256 = 32 Size384 = 48 Size512 = 64 )
View Source
const NUMBER_OF_PARAMETERS = 6
Variables ¶
View Source
var Pi = [2048 * 1024]byte{}/* 272384 elements not displayed */
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.