Documentation
¶
Index ¶
- func FromPrivateKey(privateKey []byte) (ed25519.PublicKey, ed25519.PrivateKey)
- func GeneratePair() (ed25519.PublicKey, ed25519.PrivateKey, error)
- func Sign(privKey ed25519.PrivateKey, payload []byte) ([]byte, error)
- func VerifySig(publicKey ed25519.PublicKey, payload, signature []byte) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromPrivateKey ¶
func FromPrivateKey(privateKey []byte) (ed25519.PublicKey, ed25519.PrivateKey)
func GeneratePair ¶
func GeneratePair() (ed25519.PublicKey, ed25519.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.