pub trait Padding {
    // Required method
    fn pub_pad(&mut self, input: impl AsRef<[u8]>, k: usize) -> Vec<u8> ;
}
Expand description

Padding operation trait.

Required Methods§

source

fn pub_pad(&mut self, input: impl AsRef<[u8]>, k: usize) -> Vec<u8>

Padding operation for input bytes, where k is the length of modulus in octets.

Object Safety§

This trait is not object safe.

Implementors§