# Crate pumpkin [−] [src]

A crate for generating large, cryptographically secure prime numbers.
`Primes`

are seeded from the operating system's main source of entropy,
ensuring proper randomness.

`Primes`

must be AT LEAST 512-bits long. Attempting to generate a `Prime`

less than 512-bits long will cause a panic.

## Example

extern crate pumpkin; use pumpkin::Prime; fn main() { // Generate 2048-bit primes let p = Prime::new(2048); let q = Prime::new(2048); let n = p * q; println!("{}", n); // Some 4096-bit composite number }

## Structs

Prime |
A cryptographically secure prime number. |