aesgcm

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2020 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(cipherText, key []byte) (string, error)

Decrypt decrypts cipherText using AES GCM mode.

func Encrypt

func Encrypt(plainText string, key []byte) ([]byte, error)

Encrypt encrypts plainText using AES GCM mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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