aesgcm

package
v0.0.0-...-1ad4281 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(key, ciphertext []byte) ([]byte, error)

Decrypt Using AES GCM

func DecryptBase64

func DecryptBase64(key []byte, cipherString string) ([]byte, error)

DecryptBase64 Decrypt base64 encoded cipher

func Encrypt

func Encrypt(key, plainData []byte) []byte

Encrypt Using AES GCM

func EncryptBase64

func EncryptBase64(key, plainData []byte) string

EncryptBase64 Encrypt return base64

Types

This section is empty.

Jump to

Keyboard shortcuts

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