CrackingCodes.Ch08 package¶
Subpackages¶
Submodules¶
CrackingCodes.Ch08.transpositionDecrypt module¶
Transposition Cipher Decryption
Decrypts transposition cipher messages.
Note
https://www.nostarch.com/crackingcodes/ (BSD Licensed)
-
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.