aes

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

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

Decrypt returns a decrypted byte array

func Encrypt

func Encrypt(key []byte, text []byte) ([]byte, error)

Encrypt returns an encrypted byte array

func NewKey

func NewKey(size int) ([]byte, error)

NewKey returns a new key for Encrypt/Decrypt

Types

This section is empty.

Jump to

Keyboard shortcuts

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