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. :
foo@bar:~$ python3 -m pip install --upgrade mathcrypto
To uninstall using pip. :
foo@bar:~$ python3 -m pip uninstall mathcrypto
Documentation
You can read the full documentation here.
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.
Metadata
Release files for mathcrypto 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mathcrypto-0.3.2.tar.gz | 13.5 kB | Without provenance | Details for mathcrypto-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mathcrypto-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for mathcrypto-0.3.2-py3-none-any.whl |
Total release size: 28.9 kB
Release files / mathcrypto-0.3.2.tar.gz
| Download URL | mathcrypto-0.3.2.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1040eb09c911ebb469ece1d364d7879fceea1e37a565735ac923bf5b8dc27036
|
|
BLAKE2b-256 checksum How to use checksums |
3e9b4f632490ff0b4221ee6d7d8dd8c63f28266b89ea900f19b84241080a4058
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / mathcrypto-0.3.2-py3-none-any.whl
| Download URL | mathcrypto-0.3.2-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a13f28cb0e3d386d91aeb571be04ab15c703b8a8109e9b1b663c0a27f9a36d19
|
|
BLAKE2b-256 checksum How to use checksums |
3543f803b08372f23b6bd81dfc40201348e9aff6a56be29d3960fc4f2931d2c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Security for mathcrypto 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.