Metadata-Version: 2.3
Name: toycrypto
Version: 0.2.2
Summary: Some toy cryptographic modules and related tools that should never, ever be used for anything other than demonstation purposes.
Project-URL: Documentation, https://jpgoldberg.github.io/toy-crypto-math/
Project-URL: Issues, https://github.com/jpgoldberg/toy-crypto-math/issues
Project-URL: Source, https://github.com/jpgoldberg/toy-crypto-math
Project-URL: Changelog, https://github.com/jpgoldberg/toy-crypto-math/blob/main/CHANGELOG.md
Author-email: Jeffrey Goldberg <jeffrey@goldmark.org>
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Security :: Cryptography
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: bitarray>=2.9.2
Requires-Dist: primefac>=2.0.12
Description-Content-Type: text/markdown

# Toy cryptographic utilities

[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v0.json)](https://docs.astral.sh/ruff/)
![Linting status](https://github.com/jpgoldberg/toy-crypto-math/actions/workflows/lint.yml/badge.svg)
![Tests status](https://github.com/jpgoldberg/toy-crypto-math/actions/workflows/pytest.yml/badge.svg)
[![Documentation](https://github.com/jpgoldberg/toy-crypto-math/actions/workflows/docs.yml/badge.svg)][documentation]
[![PyPI](https://img.shields.io/pypi/v/toycrypto?label=pypi%20package)](https://pypi.org/project/toycrypto/)
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://hatch.pypa.io/latest/)
[![License: MIT](https://img.shields.io/badge/license-MIT-C06524)](https://github.com/jpgoldberg/toy-crypto-math/blob/main/LICENSE.txt)

----

This is (almost certainly) not the package you are looking for.
The primary reason this is [published on PyPi][published] is so I can create reproducible Jupyter Notebooks.

See the [documentation] for use (or not) and [reasons why it exists](https://jpgoldberg.github.io/toy-crypto-math/#motivation).

Note that if you need to do cryptography in Python, I recommend [pyca](https://cryptography.io/).
If you want tools to explore the algebraic and number theoretic constructs used in cryptography,
look at [SageMath](https://doc.sagemath.org/).

[published]: https://pypi.org/project/toycrypto/ "toycrypto on PyPi"
[documentation]: https://jpgoldberg.github.io/toy-crypto-math/
