Skip to main content

Modules that can be used to illustrate and explore cryptographic concepts. This should never be used for security purposes.

Project description

Toy cryptographic utilities

PyPI Documentation mypy status ruff status pytest status Doctest status CodeFactor License: MIT


This is a collection of utilities that can be used for illustrating or exploring some cryptographic concepts. Although it includes implementations of some cryptographic algorithms, these are not secure implementations.

See the documentation for use (or not) and reasons why this exists.

Note that if you need to do cryptography in Python, I recommend pyca or PyNaCl. If you want tools to explore the algebraic and number theoretic constructs used in cryptography, look at SageMath or SymPy.

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

toycrypto-0.6.1.tar.gz (21.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

toycrypto-0.6.1-py3-none-any.whl (54.3 kB view details)

Uploaded Python 3

File details

Details for the file toycrypto-0.6.1.tar.gz.

File metadata

  • Download URL: toycrypto-0.6.1.tar.gz
  • Upload date:
  • Size: 21.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for toycrypto-0.6.1.tar.gz
Algorithm Hash digest
SHA256 0febcd40545900f18a4e87a89595bb1b20ac01cda7aedda02a84a5181f8b5099
MD5 28ffbfd42d0460cd01cf7c0ce1a6e507
BLAKE2b-256 3fc2d2faf99245b1ccfd2af5038afe8950f044900566fc2b34d8e32217bf3318

See more details on using hashes here.

File details

Details for the file toycrypto-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: toycrypto-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 54.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for toycrypto-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee637e61bc2a4691c46001952af2b4950145413f3444195ee81a9b919476b650
MD5 3bbcd8340aa7f0793ed21476058be934
BLAKE2b-256 4c47b7a19d9ebb124976729c5a62023246ff3b337b9fb8ea05d615f7cd1674e5

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