Cipher
AesCbcCipher
⚓︎
- symbolchain.Cipher.AesCbcCipher
-
Performs AES CBC encryption and decryption with a given key.
__init__(aes_key)
⚓︎
- symbolchain.Cipher.AesCbcCipher.__init__
-
Creates a cipher around an aes shared key.
decrypt(cipher_text, iv)
⚓︎
- symbolchain.Cipher.AesCbcCipher.decrypt
-
Decrypts cipher text.
encrypt(clear_text, iv)
⚓︎
- symbolchain.Cipher.AesCbcCipher.encrypt
-
Encrypts clear text.
AesGcmCipher
⚓︎
- symbolchain.Cipher.AesGcmCipher
-
Performs AES GCM encryption and decryption with a given key.
__init__(aes_key)
⚓︎
- symbolchain.Cipher.AesGcmCipher.__init__
-
Creates a cipher around an aes shared key.
decrypt(cipher_text, iv)
⚓︎
- symbolchain.Cipher.AesGcmCipher.decrypt
-
Decrypts cipher text with appended tag.
encrypt(clear_text, iv)
⚓︎
- symbolchain.Cipher.AesGcmCipher.encrypt
-
Encrypts clear text and appends tag to encrypted payload.