cryptox

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptAES

func DecryptAES[T any](key string, encryptedText string) (T, error)

DecryptAES decrypts an encrypted string into the original data type

func EncryptAES

func EncryptAES[T any](key string, data T) (string, error)

EncryptAES encrypts any data type using a given key

Types

This section is empty.

Jump to

Keyboard shortcuts

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