encryption

package
v1.1.1-0...-9418116 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptAES

func DecryptAES(key, data []byte) ([]byte, error)

DecryptAES decrypts the given data with the given key

func EncryptAES

func EncryptAES(key, data []byte) ([]byte, error)

EncryptAES encrypts the given data with the given key

func PadKey

func PadKey(key []byte) []byte

PadKey formats the key to the correct padding (32 byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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