aes

package module
v0.0.0-...-ed2e392 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptBase64ToBytes

func DecryptBase64ToBytes(encrypted string, key string) []byte

DecryptBase64ToBytes decrypts the encrypted base64 string with the given key and returns the decrypted bytes.

func DecryptBase64ToString

func DecryptBase64ToString(encrypted string, key string) string

DecryptBase64ToString decrypts the encrypted base64 string with the given key and returns the decrypted text.

func DecryptBytesToBytes

func DecryptBytesToBytes(encrypted []byte, key string) []byte

DecryptBytesToBytes decrypts the encrypted bytes with the given key and returns the decrypted bytes.

func DecryptBytesToString

func DecryptBytesToString(encrypted []byte, key string) string

DecryptBytesToString decrypts the encrypted bytes with the given key and returns the decrypted string.

func DecryptStringToBytes

func DecryptStringToBytes(encrypted string, key string) []byte

DecryptStringToBytes decrypts the encrypted bytes with the given key and returns the decrypted bytes.

func DecryptStringToString

func DecryptStringToString(encrypted string, key string) string

DecryptStringToString decrypts the encrypted bytes with the given key and returns the decrypted text.

func EncryptBytesToBase64

func EncryptBytesToBase64(src []byte, key string) string

EncryptBytesToBase64 encrypts the src bytes with the given key and returns the encrypted base64 string.

func EncryptBytesToBytes

func EncryptBytesToBytes(src []byte, key string) []byte

EncryptBytesToBytes encrypts the src bytes with the given key and returns the encrypted bytes.

func EncryptBytesToString

func EncryptBytesToString(src []byte, key string) string

EncryptBytesToString encrypts the src bytes with the given key and returns the encrypted string.

func EncryptStringToBase64

func EncryptStringToBase64(str, key string) string

EncryptStringToBase64 encrypts the text with the given key and returns the encrypted base64 string.

func EncryptStringToBytes

func EncryptStringToBytes(str, key string) []byte

EncryptStringToBytes encrypts the text with the given key and returns the encrypted bytes.

func EncryptStringToString

func EncryptStringToString(str, key string) string

EncryptStringToString encrypts the text with the given key and returns the encrypted text.

Types

This section is empty.

Jump to

Keyboard shortcuts

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