Function ring::rsa::public_key::fill_be_bytes_n
source · fn fill_be_bytes_n(
elem: Elem<N>,
n_bits: BitLength,
out: &mut [u8; 1024],
) -> &[u8] ⓘ
Expand description
Returns the big-endian representation of elem
that is
the same length as the minimal-length big-endian representation of
the modulus n
.
n_bits
must be the bit length of the public modulus n
.