Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESDecrypt ¶
AESDecrypt decrypts an encrypted payload with an AES cipher. The decryption algorithm makes three assumptions: 1. ciphertext is aligned to the standard AES block size 2. ciphertext is padded using PKCS#7 3. the IV is prepended to ciphertext
func AESEncrypt ¶
AESEncrypt encrypts a payloaded with an AES cipher. The returned ciphertext has three notable properties: 1. ciphertext is aligned to the standard AES block size 2. ciphertext is padded using PKCS#7 3. IV is prepended to the ciphertext
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.