aesutil

package
v0.0.0-...-30c4fd9 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package aesutil provides a set of functions for 2-way encryption and hashing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(keyString string, base64Data string) ([]byte, error)

Decrypt a base64 string to binary data with AES using the key provided.

func Encrypt

func Encrypt(keyString string, data []byte) (string, error)

Encrypt binary data to a base64 string with AES using the key provided.

Types

This section is empty.

Jump to

Keyboard shortcuts

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