// Generated by Lisette bindgen
// Source: crypto/md5 (Go stdlib)
// Go: 1.25.5
// Lisette: 0.1.20

import "go:hash"

/// New returns a new [hash.Hash] computing the MD5 checksum. The Hash
/// also implements [encoding.BinaryMarshaler], [encoding.BinaryAppender] and
/// [encoding.BinaryUnmarshaler] to marshal and unmarshal the internal
/// state of the hash.
pub fn New() -> hash.Hash

/// Sum returns the MD5 checksum of the data.
#[go(array_return)]
pub fn Sum(data: Slice<uint8>) -> Slice<uint8>

/// The blocksize of MD5 in bytes.
const BlockSize = 64

/// The size of an MD5 checksum in bytes.
const Size = 16
