crypto

package
v0.0.0-...-8d9d26a Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(aesgcm cipher.AEAD, ciphertext []byte, nonce []byte) ([]byte, error)

func Encrypt

func Encrypt(aesgcm cipher.AEAD, plaintext []byte) ([]byte, []byte, error)

func New

func New(key []byte) (cipher.AEAD, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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