xxtea

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToString

func BytesToString(b []byte) string

BytesToString BytesToString

func Decrypt

func Decrypt(data []byte, key []byte) []byte

Decrypt Decrypt

func DecryptString

func DecryptString(str, key string) (string, error)

DecryptString DecryptString

func DecryptURLToStdString

func DecryptURLToStdString(str, key string) (string, error)

DecryptURLToStdString DecryptURLToStdString

func Encrypt

func Encrypt(data []byte, key []byte) []byte

Encrypt Encrypt

func EncryptStdToURLString

func EncryptStdToURLString(str, key string) string

EncryptStdToURLString EncryptStdToURLString

func EncryptString

func EncryptString(str, key string) string

EncryptString EncryptString

func StringToBytes

func StringToBytes(s string) []byte

StringToBytes StringToBytes

Types

This section is empty.

Jump to

Keyboard shortcuts

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