aes

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 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 DecryptBase64ToText

func DecryptBase64ToText(encrypted string, key string) string

DecryptBase64ToText 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 DecryptTextToBytes

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

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

func DecryptTextToText

func DecryptTextToText(encrypted string, key string) string

DecryptTextToText 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 EncryptTextToBase64

func EncryptTextToBase64(text, key string) string

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

func EncryptTextToBytes

func EncryptTextToBytes(text, key string) []byte

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

func EncryptTextToText

func EncryptTextToText(text, key string) string

EncryptTextToText 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