message_cipher.decrypter module
Abstract decrypter module.
This module defines the Decrypter class, which is a purely abstract base class (interface) for implementing various ciphers.
- class message_cipher.decrypter.Decrypter
Bases:
object
Decrypter acts as an interface for any abject capable of decrypting encrypted messages.
- abstract decrypt(ciphertext: Iterable[Any]) str
Decrypts an encrypted message.
- Parameters:
ciphertext (Iterable[Any]) – An encrypted message to decrypt.
- Returns:
The decrypted message.
- Return type:
str