moonbitstack/mooncrypt/sum/adler32 does not have a README file

    Adler32

    pub struct Adler32 {
    low : UInt
    high : UInt
    }

    An Adler-32 in progress.
    impl Hash for Adler32

    Adler32::block

    fn Adler32::block(self : Adler32) -> Int

    Adler32::finish

    fn Adler32::finish(self : Adler32) -> Bytes

    Adler32::new

    fn Adler32::new() -> Adler32

    Start an Adler-32.

    The initial sums are a = 1 and b = 0, which is why the empty message has a checksum of 1 and not 0.

    Adler32::reset

    fn Adler32::reset(self : Adler32) -> Unit

    Adler32::size

    fn Adler32::size(self : Adler32) -> Int

    Adler32::update

    fn Adler32::update(self : Adler32, data : BytesView) -> Unit

    Feed more bytes.

    Adler32::value

    fn Adler32::value(self : Adler32) -> UInt

    The checksum of everything fed so far: b in the high half, a in the low, which is the order every format that carries it writes.

    Adler32::write

    fn Adler32::write(self : Adler32, data : BytesView) -> Unit

    adler32

    fn adler32(data : BytesView) -> UInt

    The Adler-32 of a whole message.

    size

    let size : Int

    The digest length in bytes.

    Source Files

    Powered by MoonBit

    Site sourceReport issueModulesSkillsBuild queueStatistics

    © 2026 mooncakes.io