Basic

Ciphers

This project covers 4 common ciphers: the caesar cipher, the transposition cipher, affine cipher, and substitution cipher. Each cipher has its own encrypt and decrypt methods.

This project consists of 4 simple ciphers that can be used to encrypt and decrypt information. It also comes with a method of brute-forcing some of them.

  1. Caesar cipher: Changes each letter with a new letter based on a given number.
  2. Transposition cipher: Reorganises a message based on a given number.
  3. Affine cipher: A combination of the multiplication and Caesar ciphers.
  4. Substitution cipher: Units of plaintext are replaced with ciphertext, according to a fixed system; the "units" are single letters, pairs of letters, triplets of letters and so forth.