CrackingCodes.Ch08 package

Submodules

CrackingCodes.Ch08.transpositionDecrypt module

Transposition Cipher Decryption

Decrypts transposition cipher messages.

CrackingCodes.Ch08.transpositionDecrypt.decryptMessage(key: int, message: str) → str[source]

Decrypt transposition cipher.

Decrypts transposition cipher messages with given key.

Parameters:
  • key – Numeric key to use for decryption.
  • message – Message string to decrypt.
Returns:

Decrypted message in a string.

CrackingCodes.Ch08.transpositionDecrypt.main()[source]

Module contents