MoonBit crc32: provide simple crc32 hash algorithm.
Content is available under GNU Free Document License 1.3 unless otherwise noted.$ moon version --all
moon 0.1.20260827 (d0aaa07 2026-08-27) ~/.moon/bin/moon
moonc v0.10.11+8f8e8db1e (2026-08-27) ~/.moon/bin/moonc
moonrun 0.1.20260827 (d0aaa07 2026-08-27) ~/.moon/bin/moonrun
pub(open) trait HashFunc {
fn name(Self) -> String
fn write(Self, Byte) -> Unit
fn check_sum(Self) -> String
}pub(all) struct Digest {
crc : UInt
name : String
}Install
Download zipMoonBit crc32: provide simple crc32 hash algorithm.