Documentation
¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESCBCDecrypt ¶
func AESCBCEncrypt ¶
func AESGCMDecrypt ¶
func AESGCMDecryptBlob ¶
AESGCMDecryptBlob takes [12-byte nonce][ciphertext + 16-byte tag], as Yandex stores it.
func AESGCMEncrypt ¶
func DES3Decrypt ¶
func DES3Encrypt ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.