Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Module for fx.
Functions ¶
Types ¶
type Algo ¶
type Algo interface { // Encrypt msg. Encrypt(msg string) (string, error) // Decrypt msg. Decrypt(msg string) (string, error) }
Algo for rsa.
type Config ¶
type Config struct { Public PublicKey `yaml:"public,omitempty" json:"public,omitempty" toml:"public,omitempty"` Private PrivateKey `yaml:"private,omitempty" json:"private,omitempty" toml:"private,omitempty"` }
Config for rsa.
Click to show internal directories.
Click to hide internal directories.