Module glass_pumpkin::safe_prime
source · Expand description
Generates cryptographically secure safe prime numbers.
Functions
- Checks if number is a safe prime
- Checks if number is a safe prime
- Constructs a new
SafePrime
with the size ofbit_length
bits, sourced from an already-initializedRngCore
. - Constructs a new safe prime number with a size of
bit_length
bits. - Checks if number is a safe prime using the Baillie-PSW test
- Checks if number is a safe prime using the Baillie-PSW test