go/src/crypto/md5/md5.go

func init() {}

const Size

const BlockSize

const init0

const init1

const init2

const init3

type digest

func (d *digest) Reset() {}

const magic

const marshaledSize

func (d *digest) MarshalBinary() ([]byte, error) {}

func (d *digest) AppendBinary(b []byte) ([]byte, error) {}

func (d *digest) UnmarshalBinary(b []byte) error {}

func consumeUint64(b []byte) ([]byte, uint64) {}

func consumeUint32(b []byte) ([]byte, uint32) {}

// New returns a new [hash.Hash] computing the MD5 checksum. The Hash
// also implements [encoding.BinaryMarshaler], [encoding.AppendBinary] and
// [encoding.BinaryUnmarshaler] to marshal and unmarshal the internal
// state of the hash.
func New() hash.Hash {}

func (d *digest) Size() int {}

func (d *digest) BlockSize() int {}

func (d *digest) Write(p []byte) (nn int, err error) {}

func (d *digest) Sum(in []byte) []byte {}

func (d *digest) checkSum() [Size]byte {}

// Sum returns the MD5 checksum of the data.
func Sum(data []byte) [Size]byte {}