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.

Files for gensafeprime, version 1.6
Filename, size File type Python version Upload date Hashes
Filename, size gensafeprime-1.6.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page