Function glass_pumpkin::prime::new
source ยท pub fn new(bit_length: usize) -> Result
Expand description
Constructs a new prime number with a size of bit_length
bits.
This will initialize an OsRng
instance and call the
from_rng()
function.
Note: the bit_length
MUST be at least 128-bits.