aescrypto

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

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

Go to latest
Published: Dec 18, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEncrypto = errors.New("encrypto failed")
	ErrDecrypto = errors.New("decrypto failed")
)

errors

Functions

func Decrypt

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

Decrypt : 解密

func Encrypt

func Encrypt(msg string, key string) (string, error)

Encrypt : 加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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