ciphers.beaufort_cipher ======================= .. py:module:: ciphers.beaufort_cipher .. autoapi-nested-parse:: Author: Mohit Radadiya Attributes ---------- .. autoapisummary:: ciphers.beaufort_cipher.dict1 ciphers.beaufort_cipher.dict2 Functions --------- .. autoapisummary:: ciphers.beaufort_cipher.cipher_text ciphers.beaufort_cipher.generate_key ciphers.beaufort_cipher.main ciphers.beaufort_cipher.original_text Module Contents --------------- .. py:function:: cipher_text(message: str, key_new: str) -> str >>> cipher_text("THE GERMAN ATTACK","SECRETSECRETSECRE") 'BDC PAYUWL JPAIYI' .. py:function:: generate_key(message: str, key: str) -> str >>> generate_key("THE GERMAN ATTACK","SECRET") 'SECRETSECRETSECRE' .. py:function:: main() -> None .. py:function:: original_text(cipher_text: str, key_new: str) -> str >>> original_text("BDC PAYUWL JPAIYI","SECRETSECRETSECRE") 'THE GERMAN ATTACK' .. py:data:: dict1 .. py:data:: dict2