crypto/ed25519.GenerateKey
func GenerateKey(io.Reader) (PublicKey, PrivateKey, error)
- Kind
- function
- Module
crypto/ed25519- Since
- 1.13
Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
The entries of crypto/ed25519 in the Go reference. This page has 20 cards.
func GenerateKey(io.Reader) (PublicKey, PrivateKey, error)
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func NewKeyFromSeed([]uint8) PrivateKey
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Options struct
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Options struct, Context string
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Options struct, Hash crypto.Hash
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*Options) HashFunc() crypto.Hash
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type PrivateKey []uint8
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (PrivateKey) Equal(crypto.PrivateKey) bool
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (PrivateKey) Public() crypto.PublicKey
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (PrivateKey) Seed() []uint8
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (PrivateKey) Sign(io.Reader, []uint8, crypto.SignerOpts) ([]uint8, error)
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const PrivateKeySize = 64
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type PublicKey []uint8
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (PublicKey) Equal(crypto.PublicKey) bool
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const PublicKeySize = 32
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const SeedSize = 32
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Sign(PrivateKey, []uint8) []uint8
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
const SignatureSize = 64
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func Verify(PublicKey, []uint8, []uint8) bool
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func VerifyWithOptions(PublicKey, []uint8, []uint8, *Options) error
crypto/ed25519Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.