aes

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() *aesClient

Types

type Client

type Client interface {
	Decrypt(key []byte, value []byte) (decryptedTarget []byte, err error)
	DecryptWithBase64(key []byte, valueBase64 string) (decryptedTarget []byte, err error)
	Encrypt(key []byte, value []byte) (encryptedTarget []byte, err error)
	EncryptFromString(key []byte, valueStr string) (encryptedTarget []byte, err error)
}

Jump to

Keyboard shortcuts

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