Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewGenerator), fx.Provide(NewEncryptor), fx.Provide(NewDecryptor), )
Module for fx.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Public string `yaml:"public,omitempty" json:"public,omitempty" toml:"public,omitempty"`
Private string `yaml:"private,omitempty" json:"private,omitempty" toml:"private,omitempty"`
}
Config for rsa.
func (*Config) PrivateKey ¶ added in v1.214.1
PrivateKey rsa.
type Decryptor ¶ added in v1.527.0
type Decryptor struct {
// contains filtered or unexported fields
}
Cipher for rsa.
func NewDecryptor ¶ added in v1.527.0
NewDecryptor for rsa.
type Encryptor ¶ added in v1.527.0
type Encryptor struct {
// contains filtered or unexported fields
}
Encryptor for rsa.
func NewEncryptor ¶ added in v1.527.0
NewEncryptor for rsa.
type Generator ¶ added in v1.367.0
type Generator struct {
// contains filtered or unexported fields
}
Generator for rsa.
func NewGenerator ¶ added in v1.367.0
NewGenerator for rsa.
Click to show internal directories.
Click to hide internal directories.