ciphers.vernam_cipher¶
Attributes¶
Functions¶
|
|
|
Module Contents¶
- ciphers.vernam_cipher.vernam_decrypt(ciphertext: str, key: str) str ¶
>>> vernam_decrypt("RIJVS","KEY") 'HELLO'
- ciphers.vernam_cipher.vernam_encrypt(plaintext: str, key: str) str ¶
>>> vernam_encrypt("HELLO","KEY") 'RIJVS'
- ciphers.vernam_cipher.plaintext = 'HELLO'¶