Skip to content

With a little python app, have fun encrypting and decoding text message using Paul Cipher's method.

Notifications You must be signed in to change notification settings

JeanLucYAO/Accessible-cryptography-with-Cipher-Encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Cipher Encryption

This little python desktop app is inspired from a problem on Edabit.com related to Cipher Encryption. We aim here to play around by chatting only encrypted words just for fun. The principle for a message goes as:

🔑 All alpha characters will be treated as uppercase letters.

🔑 The first alpha character will not change (except for switching to upper case)

🔑 All subsequent alpha characters will be shifted toward "Z" by the alphabetical position of the previous alpha character (wrap back to "A" if "Z" is passed)

IMPORTANT: A sentence is not encrypted word by word.


Example: The famous sentence Hello world is encrypted HMQXA LLGDP in this way

P(x) is x position in the alphabet

Origin Translation Explanation
H H First letter
e M M = e + P(H)
l Q Q = l + P(e)
l X X = l + P(l)
o A A = o + P(l)
w L L = w + P(o)
o L L = o + P(w)
r G G = r + P(o)
l D D = l + P(r)
d P P = d + P(l)

Running the app

🔑 Clone the files and basically put them in the same folder;

🔑 Check all requirements on the packages used;

🔑 Run cipher_main.py with python 3.9 or version around.

You should obtain something like this

Requirements

🔑 Qt version 5.15.2

🔑 PyQt version 5.15.2

Editing files

🔑 You can make changes to main.ui by using Qt Designer

🔑 Just pick your favourite text editor for cipher_main.py. Only make sure you are using python 3.

About

With a little python app, have fun encrypting and decoding text message using Paul Cipher's method.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages