//
pkg.gl
Category
code.gitea.io/gitea
modules
secret
package
1.24.0-dev
Repository:
https://github.com/go-gitea/gitea.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
9
Dependents
9
Files
65 SLOC
#
Functions
AesDecrypt
AesDecrypt decrypts text and given key with AES.
AesEncrypt
AesEncrypt encrypts text and given key with AES.
DecryptSecret
DecryptSecret decrypts a previously encrypted hex string.
EncryptSecret
EncryptSecret encrypts a string with given key into a hex string.