:py:mod:`pylibressl.cipher.onion` ================================= .. py:module:: pylibressl.cipher.onion Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: pylibressl.cipher.onion.OnionCipher Attributes ~~~~~~~~~~ .. autoapisummary:: pylibressl.cipher.onion.Onion_AES256_GOST89 pylibressl.cipher.onion.__doc__ .. py:class:: OnionCipher(key_list) Bases: :py:obj:`object` Onion ciphering. .. py:method:: new(cls, cipher_list_, name='NewOnionCipher') :classmethod: Create new onion cipher chain. Ciphers are set in encryption order. .. py:method:: encrypt(self, data) Encrypt a message. .. py:method:: decrypt(self, data, auth_codes) Decrypt a message. .. py:data:: Onion_AES256_GOST89 .. py:data:: __doc__