num-primes 0.3.0

A Rust Library For Generating Large Prime and Composite Numbers using num with a simplistic interface.
Documentation
1
2
3
4
5
6
7
8
9
use num_primes::Generator;

fn main() {
    // Generate Large Random Unsigned Integer of 1024 bits
    let x = Generator::new_uint(1024);

    // Print Integer
    println!("Large Unsigned Integer: {}",x);
}