aesutil

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 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