Documentation
¶
Index ¶
- Constants
- func Crc32(key []byte) uint32
- func Fnv32(key []byte) uint32
- func Fnv64(key []byte) uint64
- func MD5(data []byte) (h []byte)
- func MD5HL(h []byte) (hi, lo uint64)
- func MD5Hash(data []byte) (h []byte, hi, lo uint64)
- func MD5Sum(p []byte) (h []byte, hi, lo uint64)
- func MD5Uint64(p []byte) (hi, lo uint64)
- func New() hash.Hash
- func Sum(data []byte) [Size]byte
Constants ¶
View Source
const BlockSize = 64
BlockSize The blocksize of MD5 in bytes.
View Source
const Size = 16
Size The size of an MD5 checksum in bytes.
Variables ¶
This section is empty.
Functions ¶
func New ¶ added in v1.1.0
New returns a new hash.Hash computing the MD5 checksum. The Hash also implements encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to marshal and unmarshal the internal state of the hash.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.