ciphers.mono_alphabetic_ciphers =============================== .. py:module:: ciphers.mono_alphabetic_ciphers Attributes ---------- .. autoapisummary:: ciphers.mono_alphabetic_ciphers.LETTERS Functions --------- .. autoapisummary:: ciphers.mono_alphabetic_ciphers.decrypt_message ciphers.mono_alphabetic_ciphers.encrypt_message ciphers.mono_alphabetic_ciphers.main ciphers.mono_alphabetic_ciphers.translate_message Module Contents --------------- .. py:function:: decrypt_message(key: str, message: str) -> str >>> decrypt_message("QWERTYUIOPASDFGHJKLZXCVBNM", "Hello World") 'Itssg Vgksr' .. py:function:: encrypt_message(key: str, message: str) -> str >>> encrypt_message("QWERTYUIOPASDFGHJKLZXCVBNM", "Hello World") 'Pcssi Bidsm' .. py:function:: main() -> None .. py:function:: translate_message(key: str, message: str, mode: Literal['encrypt', 'decrypt']) -> str >>> translate_message("QWERTYUIOPASDFGHJKLZXCVBNM","Hello World","encrypt") 'Pcssi Bidsm' .. py:data:: LETTERS :value: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'