Struct sha::utils::StdPad [-] [+] [src]

pub struct StdPad {
    // some fields omitted
}

Methods

impl StdPad

fn new(suffix: Vec<u8>, block_len: usize) -> StdPad

fn with_prefix(prefix: u8, suffix: Vec<u8>, block_len: usize) -> StdPad

Trait Implementations

impl ReadPad for StdPad

fn read_pad(&self, buf: &mut Vec<u8>) -> Result<usize>