Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Module for fx.
Functions ¶
Types ¶
type Algo ¶
type Algo interface { // Generate an encoded msg. Generate(msg string) string // Compare encoded with msg. Compare(enc, msg string) error // PublicKey for Ed25519. PublicKey() ed25519.PublicKey // PrivateKey for Ed25519. PrivateKey() ed25519.PrivateKey }
Algo for ed25519.
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 ed25519.
Click to show internal directories.
Click to hide internal directories.