ed25519

package
v0.0.0-...-375d9ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:21 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKey

func GenerateKey(rand io.Reader) (ed25519.PublicKey, ed25519.PrivateKey, error)

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)

func Sign

func Sign(privateKey ed25519.PrivateKey, message []byte) []byte

func Verify

func Verify(publicKey ed25519.PublicKey, message, sig []byte) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL