Versions in this module Expand all Collapse all v1 v1.2.0 Nov 2, 2026 Changes in this version + func AESCBCDecrypt(key, iv, ciphertext []byte) ([]byte, error) + func AESCBCEncrypt(key, iv, plaintext []byte) ([]byte, error) + func AESGCMDecrypt(key, nonce, ciphertext []byte) ([]byte, error) + func AESGCMDecryptBlob(key, blob, aad []byte) ([]byte, error) + func AESGCMEncrypt(key, nonce, plaintext []byte) ([]byte, error) + func DES3Decrypt(key, iv, ciphertext []byte) ([]byte, error) + func DES3Encrypt(key, iv, plaintext []byte) ([]byte, error) + func PBKDF2Key(password, salt []byte, iterations, keyLen int, newHash func() hash.Hash) []byte + type ASN1PBE interface + Decrypt func(key []byte) ([]byte, error) + Encrypt func(key, plaintext []byte) ([]byte, error) + func NewASN1PBE(encoded []byte) (pbe ASN1PBE, err error)