Skip to main content

A set of functions useful in mathematical cryptography

Project description

Cryptography318

Cryptography318 is a package intended to provide utility for important cryptographic and linear algebra functions in Python. This package includes functions for generating primes, primality tests including AKS, Miller-Rabin, Baillie-PSW, functions for factoring integers including Pollard's P-1, Self-Initializing Quadratic Sieve, Pollard's Rho, and Lenstra's ECM factorization algorithm using both Montgomery curves over projective space and short Weierstrass curves, functions for solving discrete logarithm problems including Pollard's Rho method for logarithms, baby-step-giant-step, and Pohlig-Hellman, support for working with elliptic curve cryptography including 'fast power algorithm' and baby-step-giant-step, general algebra functions such as Chinese Remainder and the Euclidean Extended Algorithm for gcd's. In development is the index calculus method for solving DLP's.

Required Packages

  • numpy

Install

$ pip install cryptography318

License

License: MIT

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

cryptography318-1.0.0.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

cryptography318-1.0.0-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file cryptography318-1.0.0.tar.gz.

File metadata

  • Download URL: cryptography318-1.0.0.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for cryptography318-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a793c1159b7fd23e6af57ca61c23098cbd5ecb2a22db9ce6de5bf2a5c845cdb3
MD5 19493cd3d081a6c5c6d66b3a5fc7f205
BLAKE2b-256 a4e59f91f16e39ee19bf1e0b75df9ed3c2768061e268bfaedce28ce35bdae793

See more details on using hashes here.

File details

Details for the file cryptography318-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cryptography318-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a7bfe728bcedc036593887471f05b809babbf6d41c4c27b2cb2945c9e5db2a3f
MD5 c2890640af76f930a4e53f472b5e5670
BLAKE2b-256 3ab2dc344d0cd962f040a956253843a130d44117f7e481114cd3453a85863474

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