An implementation of a basic keyword transposition cipher in Python.
pip install .
- Initialize
from pyktc.cipher import Cipher; ktc = Cipher('secret')
- Encrypt
ktc.encrypt('CRYPTOLOGY')
- Decrypt
ktc.decrypt('MNYDX WHWJY')
The basic implementation only works with A-Z though it can easily be extended to support other characters.