Documentation ¶
Overview ¶
This file has automatically been generated on Wed Feb 26 15:50:21 +05 2020. DO NOT EDIT.
Index ¶
- func GenerateKey(rand io.Reader) (ed25519.PublicKey, ed25519.PrivateKey, error)
- func NewKeyFromSeed(seed []byte) ed25519.PrivateKey
- func PrivateKeyPublic(priv ed25519.PrivateKey) crypto.PublicKey
- func PrivateKeySeed(priv ed25519.PrivateKey) []byte
- func PrivateKeySign(priv ed25519.PrivateKey, rand io.Reader, message []byte, ...) ([]byte, error)
- func Sign(privateKey ed25519.PrivateKey, message []byte) []byte
- func Verify(publicKey ed25519.PublicKey, message, sig []byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKey ¶
func NewKeyFromSeed ¶
func NewKeyFromSeed(seed []byte) ed25519.PrivateKey
func PrivateKeyPublic ¶
func PrivateKeyPublic(priv ed25519.PrivateKey) crypto.PublicKey
func PrivateKeySeed ¶
func PrivateKeySeed(priv ed25519.PrivateKey) []byte
func PrivateKeySign ¶
func PrivateKeySign(priv ed25519.PrivateKey, rand io.Reader, message []byte, opts crypto.SignerOpts) ([]byte, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.