pylibressl.cipher.onion

Module Contents

Classes

OnionCipher

Onion ciphering.

Attributes

Onion_AES256_GOST89

__doc__

class pylibressl.cipher.onion.OnionCipher(key_list)

Bases: object

Onion ciphering.

classmethod new(cls, cipher_list_, name='NewOnionCipher')

Create new onion cipher chain.

Ciphers are set in encryption order.

encrypt(self, data)

Encrypt a message.

decrypt(self, data, auth_codes)

Decrypt a message.

pylibressl.cipher.onion.Onion_AES256_GOST89
pylibressl.cipher.onion.__doc__