Documentation ¶
Index ¶
- func AesCbcDecrypt(cipherText, cek, iv, authTag []byte) ([]byte, error)
- func AesCbcEncrypt(plainText, cek, iv, aad []byte) ([]byte, []byte, error)
- func AesGcmDecrypt(cipherText, cek, nonce, authTag, aad []byte) ([]byte, error)
- func AesGcmEncrypt(plainText, cek, nonce, aad []byte) ([]byte, []byte, error)
- func GenerateCEK(bitLength int) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesCbcDecrypt ¶
func AesGcmDecrypt ¶
AES-GCM Decryption
func AesGcmEncrypt ¶
AES-GCM Encryption
func GenerateCEK ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.