message_cipher.cipher module

The Cipher module defines the Cipher abstract base class.

class message_cipher.cipher.Cipher

Bases: Encrypter, Decrypter

Cipher is a combination of both an Encrypter and a Decrypter, and simply acts a common interface for objects capable of both encrypting plaintext, and decrypting messages encrypted using the corresponding encrypter