mizchi/bit/hash does not have a README file
pub struct Sha1State { h : FixedArray[Int] block : FixedArray[Byte] w : FixedArray[Int] block_len : Int total_len : Int64}
fn Sha1State::finish_raw(self : Sha1State) -> FixedArray[Byte]
fn Sha1State::new() -> Sha1State
fn Sha1State::reset(self : Sha1State) -> Unit
fn Sha1State::update(self : Sha1State, data : Bytes) -> Unit
fn Sha1State::update_byte(self : Sha1State, b : Byte) -> Unit
fn Sha1State::update_slice(self : Sha1State, data : Bytes, offset : Int, len : Int) -> Unit
fn Sha1State::update_string(self : Sha1State, s : String) -> Unit
fn hex_char_to_int(c : Char) -> Int raise
fn int_to_hex4(n : Int) -> String
fn is_hex_char(c : Char) -> Bool
fn is_hex_string(s : String) -> Bool
fn lower_hex_string(s : String) -> String
fn sha1_array_prefix_raw(data : Array[Byte], len : Int) -> FixedArray[Byte]
fn sha1_array_raw(data : Array[Byte]) -> FixedArray[Byte]
fn sha1_prefix_raw(data : Bytes, len : Int) -> FixedArray[Byte]
fn sha1_raw(data : Bytes) -> FixedArray[Byte]
fn short_hex(hex : String, n : Int) -> String
Install
Pure MoonBit Git implementation
Published modules that use this version
Powered by MoonBit
© 2026 mooncakes.io