A Python library for various cipher techniques including the Caesar cipher and Playfair cipher examples.
Project description
Cryptizia
Cryptizia is a Python library for various cipher techniques including the Caesar cipher.
Installation
You can install the library using pip:
pip install cryptizia
How to use in Code
Caeser Cipher
from cryptizia import CaesarCipherExample
CaesarCipherExample()
Customization
You can customize the 'shift' and 'plaintext' directly in the constructor if you want different values:
# Example with custom shift and plaintext
cipher = CaesarCipherExample(shift=5, plaintext="WORLD")
Playfair Cipher
from cryptizia import PlayfairCipherExample
PlayfairCipherExample()
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
Cryptizia-0.2.0.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file Cryptizia-0.2.0.tar.gz
.
File metadata
- Download URL: Cryptizia-0.2.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f53ca2db99b6784f2c8a5eff2a7c7f3097c3a47e534d645066b8e110b55697a |
|
MD5 | 8f978fe855b1c08826c7ea320e888800 |
|
BLAKE2b-256 | b4baa1fa4bc6415f15a9f8c614176a54790570bf9d6fa99e972dfe9d3ba30fce |
File details
Details for the file Cryptizia-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: Cryptizia-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 539af5d47746d256a9524bdc01d69f7036f2b53a53d16322f1f12159d3d1a1fd |
|
MD5 | c578c11963f856f67ee9d9bccdf5c577 |
|
BLAKE2b-256 | ae86fbfd6a203323aa2aaf854da21e725f6b25b9fa5fe5dd9a524ca731cffea5 |