service/library/configcenter/cryptoconfigcenter.go

26 lines
644 B
Go
Raw Normal View History

2023-12-21 22:17:40 +08:00
package configcenter
type AESConfig struct {
AESPrivateKey string `json:"private_key" yaml:"private_key"` //AES私钥
}
type RSAConfig struct {
RSAPrivateKey string `json:"private_key" yaml:"private_key"` //RSA 私钥
}
type TokenConfig struct {
TokenPrivateKey string `json:"private_key" yaml:"private_key"` //token签名私钥
}
type SHA256Config struct {
SHA256Salts string `json:"salts" yaml:"salts"` //SHA256 salts
}
2024-06-15 13:41:03 +08:00
type HygAESConfig struct {
HygAESPrivateKey string `json:"private_key" yaml:"private_key"` //AES私钥
}
type HygRSAConfig struct {
2024-06-18 17:10:42 +08:00
HygRSAPrivateKey string `json:"private_key" yaml:"private_key"` //RSA私钥
2024-06-15 13:41:03 +08:00
}