service/library/configcenter/cryptoconfigcenter.go

26 lines
644 B
Go

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
}
type HygAESConfig struct {
HygAESPrivateKey string `json:"private_key" yaml:"private_key"` //AES私钥
}
type HygRSAConfig struct {
HygRSAPrivateKey string `json:"private_key" yaml:"private_key"` //AES私钥
}