Affine Cipher

Python Program · January 2024 – May 2024

Overview

  • Created a Python program that implements the affine cipher for encryption and decryption, as well as a tool to determine the key shift from a given ciphertext.
  • Built command-line argument support for input and output files, operation type (encrypt, decrypt, or shift detection), and relevant keys.
  • Applied modular arithmetic, cryptographic principles, and file I/O in Python.
  • Refined skills in argument parsing, user input validation, and structuring maintainable command-line applications.

Media

Screenshot of the affine cipher command-line tool

Skills

Python Cryptography Modular Arithmetic Command-Line Argument Parsing File I/O Algorithm Design