w4ffl35 / pyktc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:Python 100.0%