Skip to content

A project for playing around with substitution ciphers and one-time pads

License

Notifications You must be signed in to change notification settings

bmkessler/subcipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

subcipher

A project for playing around with substitution ciphers and one-time pads. Note, this project is not intended for actually cryptography applications, but just for fun and education.

subcipher.py is a simple script for encoding and decoding simple substitution ciphers. It relies on a numeric "key" identifying the permutation of the character set.

onetimepad.py generates a one-time pad the same length as the file and encodes the file using that one-time pad. Files require the pad to be decoded.

Next up is a demonstration of a frequency-based attack on the substitution cipher.

About

A project for playing around with substitution ciphers and one-time pads

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages