import "code.gitea.io/gitea/modules/secret"
AesDecrypt decrypts text and given key with AES.
AesEncrypt encrypts text and given key with AES.
DecryptSecret decrypts a previously encrypted hex string
EncryptSecret encrypts a string with given key into a hex string
New creats a new secret
NewWithLength creates a new secret for a given length
Package secret imports 8 packages (graph) and is imported by 3 packages. Updated 2021-01-22. Refresh now. Tools for package owners.