A library of useful funtions used in cryptography. For learning purposes only.
Project description
MathCrypto
MathCrypto is a library of useful funtions used in cryptography. Do not use this library for improving the security of your application, it is not safe or powerful enough to provide that.
Available functions include:
- Multiplicative group operations
- Generate a group from modulus including group elements and generators
- Get inverse element any element of the group
- Get element order of any element in group
- Math functions
- Number primality checks
- Classic number modulus check
- Fermat's primality test
- Euler's Totient function (Phi)
- Euclidean algorithm (GCD)
- Simple number factorization
- Chinese Remainder Theorem
- Extended Euclidean Algorithm
- Number primality checks
Functions from this library can be used to solve recreational mathematics, cryptographic and programming problems.
Installation
MathCrypto is avalaible through Python Package Index (PyPI) using pip. :
>>> pip install --upgrade mathcrypto
To uninstall using pip. :
>>> pip uninstall mathcrypto
Usage
TODO
Development
Source code repository is available on GitHub. Feel free to contribute. Bug reports and suggestions are welcome.
License
mathcrypto is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mathcrypto-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d20018c94260461cfca4a8904d985ad4383d954f068d27965e8d6d48a279e104 |
|
MD5 | e9da387162057fc95d73b1e0438806ab |
|
BLAKE2b-256 | a62b8e40516bd73cdc1139281c184b31a328aaa8eb92091d26e85be107ba238c |