aesutils

package
v0.0.0-...-908cc04 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESEncryptData

func AESEncryptData(data []byte, key []byte) (encryptedtext []byte, err error)

aesEncryptData encrypts data using 256-bit AES-GCM. Output: nonce+cipherdata+tag

func AESEncryptionKey

func AESEncryptionKey() []byte

aesEncryptionKey returns random AES Encrpytion Key

Types

This section is empty.

Jump to

Keyboard shortcuts

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