Function rsa::internals::left_pad [−][src]
pub fn left_pad(input: &[u8], size: usize) -> Vec<u8>
Expand description
Returns a new vector of the given length, with 0s left padded.
pub fn left_pad(input: &[u8], size: usize) -> Vec<u8>
Returns a new vector of the given length, with 0s left padded.