//
pkg.gl
Category
github.com/NeuralNexusDev/neuralnexus-api
modules
encryption
package
0.0.0-20241201040153-f200875f8601
Repository:
https://github.com/neuralnexusdev/neuralnexus-api.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
1
Files
60 SLOC
#
Functions
DecryptAES
DecryptAES decrypts a byte array using AES, returns the decrypted byte array Uses AES/GCM/NoPadding.
EncryptAES
EncryptAES encrypts a string using AES, returns the encrypted byte array with the IV added to the end Uses AES/GCM/NoPadding.
#
Variables
IV_LENGTH
-------------- Globals --------------.
KEY_LENGTH
-------------- Globals --------------.