Documentation ¶
Index ¶
- func CalculateSharedKey(pub ed25519.PublicKey, priv ed25519.PrivateKey) []byte
- func GenerateKeyPair() (ed25519.PublicKey, ed25519.PrivateKey, error)
- func SeedKeyPair(seed []byte) (ed25519.PublicKey, ed25519.PrivateKey)
- func Sign(priv ed25519.PrivateKey, data []byte) []byte
- func Verify(pub ed25519.PublicKey, data, signature []byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateSharedKey ¶
func CalculateSharedKey(pub ed25519.PublicKey, priv ed25519.PrivateKey) []byte
func GenerateKeyPair ¶
func GenerateKeyPair() (ed25519.PublicKey, ed25519.PrivateKey, error)
func SeedKeyPair ¶
func SeedKeyPair(seed []byte) (ed25519.PublicKey, ed25519.PrivateKey)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.