MoonBit md5: provide simple md5 hash algorithm.
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.$ moon version --all
moon 0.1.20250612 (2a026e0 2025-06-12) ~/.moon/bin/moon
moonc v0.1.20250612+600461c34 ~/.moon/bin/moonc
moonrun 0.1.20250612 (2a026e0 2025-06-12) ~/.moon/bin/moonrunpub(open) trait HashFunc {
name(Self) -> String
write(Self, Byte) -> Unit
check_sum(Self) -> String
}type Digest