package md5

import "cuelang.org/go/pkg/crypto/md5"

Index

Constants

const BlockSize = 64

The blocksize of MD5 in bytes.

const Size = 16

The size of an MD5 checksum in bytes.

Functions

func Sum

func Sum(data []byte) [Size]byte

Sum returns the MD5 checksum of the data.

Source Files

md5.go

Version
v0.0.4-rc1
Published
Jul 1, 2019
Platform
linux/amd64
Imports
1 packages
Last checked
3 hours ago

Tools for package owners.