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 Composite Number of 1024 bits
    let composite = Generator::new_composite(1024);

    // Print Out Composite Number
    println!("Composite Number: {}",composite);
}