aes

package
v0.0.0-...-55babe7 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(secret, content string) (result string, err error)

Decrypt takes a secret and a content string and returns the plaintext string. The ciphertext string is hex-decoded before decryption.

func Encrypt

func Encrypt(secret, content string) (result string, err error)

Encrypt takes a secret and content and encrypts the content with AES

Types

This section is empty.

Jump to

Keyboard shortcuts

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