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.5.tar.gz (3.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: gensafeprime-1.5.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gensafeprime-1.5.tar.gz
Algorithm Hash digest
SHA256 4dbadc2a1445b19fb8b0350d8c25fdc5208f1b3b78d3dea7b53f9d7c7b9c6de0
MD5 58984be69e08a92043047c2b78673580
BLAKE2b-256 cb872b5a5af8199513f044991cdf64015572479a25ea86dc0ae4c90d769be284

See more details on using hashes here.

Supported by

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