aes

package
v0.0.0-...-2dfd109 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(s Secret) (string, error)

Types

type Secret

type Secret struct {
	Key        string
	Nonce      string
	CipherText string
}

func Encrypt

func Encrypt(plaintext string) (Secret, error)

Jump to

Keyboard shortcuts

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