whatsmeowgo.mau.fi/whatsmeow/util/gcmutil Index | Files

package gcmutil

import "go.mau.fi/whatsmeow/util/gcmutil"

Index

Functions

func Decrypt

func Decrypt(secretKey, iv, ciphertext, additionalData []byte) ([]byte, error)

func Encrypt

func Encrypt(secretKey, iv, plaintext, additionalData []byte) ([]byte, error)

func Prepare

func Prepare(secretKey []byte) (gcm cipher.AEAD, err error)

Source Files

gcm.go

Version
v0.0.0-20250326122532-6680c9a6e9a7 (latest)
Published
Mar 26, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
5 hours ago

Tools for package owners.