MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / main

Function main

ciphers/beaufort_cipher.py:69–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67
68
69def main() -> None:
70 message = "THE GERMAN ATTACK"
71 key = "SECRET"
72 key_new = generate_key(message, key)
73 s = cipher_text(message, key_new)
74 print(f"Encrypted Text = {s}")
75 print(f"Original Text = {original_text(s, key_new)}")
76
77
78if __name__ == "__main__":

Callers 1

beaufort_cipher.pyFile · 0.70

Calls 3

cipher_textFunction · 0.85
original_textFunction · 0.85
generate_keyFunction · 0.70

Tested by

no test coverage detected