Skip to main content

Generate safe primes using OpenSSL (a prime p = 2*q+1, and q is prime too)

Project description

This module generates safe prime numbers using the OpenSSL library. A number p is a safe prime number, if p is a prime number, and p = 2*q+1, and q is a prime number too. These numbers are sometimes used in cryptography.

Written by Erik Tews <erik@datenzone.de> Python 3 compatibility by Peter Wagenaar <sakartu@gmail.com>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gensafeprime-1.6.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file gensafeprime-1.6.tar.gz.

File metadata

  • Download URL: gensafeprime-1.6.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2+

File hashes

Hashes for gensafeprime-1.6.tar.gz
Algorithm Hash digest
SHA256 8613cdf1a20d887d0eb4c0d3ba1ddadd4f5b8a477db280e8c4082b455ba92b45
MD5 8339c1d279aba72a31d598fd0f2e9d84
BLAKE2b-256 f10315551829f84c067035d19744123d722bc2a1a9884b67fc29b8848a324fed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page