🔒 token encryption

This commit is contained in:
landaiqing
2024-08-14 19:57:37 +08:00
parent 368adadf52
commit 55759a33db
19 changed files with 241 additions and 39 deletions

8
config/conf_encrypt.go Normal file
View File

@@ -0,0 +1,8 @@
package config
type Encrypt struct {
Key string `yaml:"key"`
IV string `yaml:"iv"`
PublicKey string `yaml:"public-key"`
PrivateKey string `yaml:"private-key"`
}