aesx

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(encrypted []byte, key []byte) ([]byte, error)

Decrypt the encrypted data with the key

func Decrypt0

func Decrypt0(encrypted []byte, strKey string) ([]byte, error)

Decrypt0 the encrypted data with the string key

func Encrypt

func Encrypt(originData []byte, key []byte) ([]byte, error)

Encrypt the origin data with the key

func Encrypt0

func Encrypt0(originData []byte, strKey string) ([]byte, error)

Encrypt0 the origin data with the string key

func EncryptString

func EncryptString(str string, key []byte) ([]byte, error)

EncryptString the origin data with the key

func EncryptString0

func EncryptString0(str string, strKey string) ([]byte, error)

EncryptString0 the origin data with the string key

Types

This section is empty.

Jump to

Keyboard shortcuts

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