Skip to content

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) ⚓︎

encrypt(clear_text, iv) ⚓︎

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.