Versions in this module Expand all Collapse all v0 v0.0.1 Sep 19, 2025 v0.0.0 Sep 19, 2025 Changes in this version + var ErrCiphertextLengthIsInvalid = errors.New("ciphertext length is invalid") + var ErrDecodeASN1Failed = errors.New("decode ASN1 data failed") + func AES128CBCDecrypt(key, iv, ciphertext []byte) ([]byte, error) + func AES128CBCEncrypt(key, iv, plaintext []byte) ([]byte, error) + func AESGCMDecrypt(key, nounce, ciphertext []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 DecryptWithChromium(key, ciphertext []byte) ([]byte, error) — windows/amd64 + func DecryptWithChromium(key, encryptPass []byte) ([]byte, error) — linux/amd64 + func DecryptWithChromium(key, password []byte) ([]byte, error) — darwin/amd64 + func DecryptWithDPAPI(_ []byte) ([]byte, error) — darwin/amd64, linux/amd64 + func DecryptWithDPAPI(ciphertext []byte) ([]byte, error) — windows/amd64 + func DecryptWithYandex(key, ciphertext []byte) ([]byte, error) — windows/amd64 + func PBKDF2Key(password, salt []byte, iter, keyLen int, h func() hash.Hash) []byte + type ASN1PBE interface + Decrypt func(globalSalt []byte) ([]byte, error) + Encrypt func(globalSalt, plaintext []byte) ([]byte, error) + func NewASN1PBE(b []byte) (pbe ASN1PBE, err error)