Documentation
¶
Index ¶
- Variables
- 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)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCiphertextLengthIsInvalid = errors.New("ciphertext length is invalid")
Functions ¶
func AES128CBCDecrypt ¶
func AES128CBCEncrypt ¶
func AESGCMDecrypt ¶
AESGCMDecrypt chromium > 80 https://source.chromium.org/chromium/chromium/src/+/master:components/os_crypt/sync/os_crypt_win.cc
func AESGCMEncrypt ¶
AESGCMEncrypt encrypts plaintext using AES encryption in GCM mode.
func DES3Decrypt ¶
func DES3Encrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.