package gcmutil
import "github.com/UristLikot/whatsmeow/util/gcmutil"
Index ¶
- func Decrypt(secretKey, iv, ciphertext, additionalData []byte) ([]byte, error)
- func Encrypt(secretKey, iv, plaintext, additionalData []byte) ([]byte, error)
- func Prepare(secretKey []byte) (gcm cipher.AEAD, err error)
Functions ¶
func Decrypt ¶
func Encrypt ¶
func Prepare ¶
Source Files ¶
- Version
- v1.0.3 (latest)
- Published
- Feb 15, 2024
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 1 week ago –
Tools for package owners.