pylibressl.cipher.onion¶
Module Contents¶
Classes¶
Onion ciphering. |
Attributes¶
- class pylibressl.cipher.onion.OnionCipher(key_list)¶
Bases:
objectOnion 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__¶