gcmutil

package
v1.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL