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 of bit_length bits, sourced from an already-initialized RngCore.
  • 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