crypto/ecdh.Curve.GenerateKey
type Curve interface, GenerateKey(io.Reader) (*PrivateKey, error)
- Kind
- method
- Module
crypto/ecdh- Since
- 1.20
Source: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
The entries of crypto/ecdh in the Go reference. This page has 22 cards.
type Curve interface, GenerateKey(io.Reader) (*PrivateKey, error)
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Curve interface, NewPrivateKey([]uint8) (*PrivateKey, error)
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type Curve interface, NewPublicKey([]uint8) (*PublicKey, error)
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type KeyExchanger interface { Curve, ECDH, PublicKey }
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type KeyExchanger interface, Curve() Curve
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type KeyExchanger interface, ECDH(*PublicKey) ([]uint8, error)
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type KeyExchanger interface, PublicKey() *PublicKey
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func P256() Curve
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func P384() Curve
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func P521() Curve
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type PrivateKey struct
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*PrivateKey) Bytes() []uint8
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*PrivateKey) Curve() Curve
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*PrivateKey) ECDH(*PublicKey) ([]uint8, error)
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*PrivateKey) Equal(crypto.PrivateKey) bool
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*PrivateKey) Public() crypto.PublicKey
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*PrivateKey) PublicKey() *PublicKey
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
type PublicKey struct
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*PublicKey) Bytes() []uint8
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*PublicKey) Curve() Curve
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
method (*PublicKey) Equal(crypto.PublicKey) bool
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.
func X25519() Curve
crypto/ecdhSource: github.com, pkg.go.dev. JSON record. This entry is a card. Help write this page.