Trait sha::utils::Digest [-] [+] [src]

pub trait Digest: Default + Reset + Read + Write {
    fn digest(&mut self, msg: &[u8]) -> &mut Self { ... }
    fn to_bytes_len(&mut self, len: usize) -> Vec<u8> { ... }
    fn to_hex_len(&mut self, len: usize) -> String { ... }
}

Provided Methods

fn digest(&mut self, msg: &[u8]) -> &mut Self

fn to_bytes_len(&mut self, len: usize) -> Vec<u8>

fn to_hex_len(&mut self, len: usize) -> String

Implementors