A Python implementation of a basic keyword transposition cipher
Project description
Python Keyword Transposition Cipher
An implementation of a basic keyword transposition cipher in Python.
Installation
pip install .
Usage
- Initialize
from pyktc.cipher import Cipher; ktc = Cipher('secret')
- Encrypt
ktc.encrypt('CRYPTOLOGY')
- Decrypt
ktc.decrypt('MNYDX WHWJY')
Limitations
The basic implementation only works with A-Z though it can easily be extended to support other characters.
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
pyktc-1.0.0.tar.gz
(2.0 kB
view details)
Built Distribution
pyktc-1.0.0-py3-none-any.whl
(2.3 kB
view details)
File details
Details for the file pyktc-1.0.0.tar.gz
.
File metadata
- Download URL: pyktc-1.0.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2c9b5a67c111b0003b62ee4ed868c748de1d7aa08d67344c38f597293ee29c4 |
|
MD5 | 1358dd164dda64525f92301a9562dd41 |
|
BLAKE2b-256 | 95c998a636ba1ea8d4b881b60d69b03671bca59cf5faa7fc6855a0d2089ca185 |
Provenance
File details
Details for the file pyktc-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pyktc-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7db3b1f089c754cc23c34da998e4b49f5495f2480f69cd97479d568a83d2bc1c |
|
MD5 | db3f161ff0dc50f88163ac39bcaf94f7 |
|
BLAKE2b-256 | 3d798bc4a5dc4c7ea569f752ba6a9ff7fab504fc0062ca5d11f33e2e9e9cb8dd |