Function ring::ec::suite_b::private_key::random_scalar
source ยท pub fn random_scalar(
ops: &PrivateKeyOps,
rng: &dyn SecureRandom,
) -> Result<Elem<N, Unencoded>, Unspecified>
Expand description
Generates a random scalar in the range [1, n).