Contents

Affine Cipher

Contents

Affine Cipher

In the recent months, I have done a lot more system administration then I have done programming. I wanted to get back into the swing of creating programs just for the fun of it.

I decided to turn my Introduction to cryptography homework into a great opportunity to brush up on my python. One of the questions on my homework was to decode a message encoded with an affine cipher.

Rather then doing this by hand, I made a small python program to do this for me. At that point I thought “what the hell, if I added the ability to decrypt, I might as well add the ability to encrypt.”

So I did.

If you are interested in seeing how the Affine ciphers works, the program can be found on my Github