B0-B / ceaserSalad

A mixed ceaser cipher which uses passphrases instead of single shift integers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ceaserSalad

A simple but powerful ceaser cipher with varying shift margin based on cyclic passphrase iteration. The algorithm can also be performed on pen and paper.

from main import engine

cs = engine()
plainText = "This is a secret message"
password = "secret"
cipher = cs.encrypt(plainText, password)
plainAgain = cs.decrypt(cipher, password)

# test
print(plain, cipher, plainAgain)

About

A mixed ceaser cipher which uses passphrases instead of single shift integers.


Languages

Language:Python 63.4%Language:Jupyter Notebook 36.6%