aes256

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package aes256 is thanks to https://gist.github.com/brettscott/2ac58ab7cb1c66e2b4a32d6c1c3908a7 Will play nicely with the aes256 encryption created on the client (javascript) side

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(message string, key string) (string, error)

Decrypt takes a message and a key and decrypts the message with the key using the same AES-256 algorithm used on the client side

func Encrypt

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

Encrypt takes a message and a key and encrypts the message with the key using the same AES-256 algorithm used on the client side

Types

This section is empty.

Jump to

Keyboard shortcuts

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