package md5
import "crypto/md5"
Package md5 implements the MD5 hash algorithm as defined in RFC 1321.
MD5 is cryptographically broken and should not be used for secure applications.
Index ¶
Examples ¶
Constants ¶
const BlockSize = 64
The blocksize of MD5 in bytes.
const Size = 16
The size of an MD5 checksum in bytes.
Functions ¶
func New ¶
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.
func Sum ¶
Sum returns the MD5 checksum of the data.
Source Files ¶
md5.go md5block.go md5block_decl.go
- Version
- v1.19.5
- Published
- Jan 9, 2023
- Platform
- darwin/amd64
- Imports
- 5 packages
- Last checked
- 1 minute ago –
Tools for package owners.