package ed25519

Import Path
	crypto/internal/fips140/ed25519 (on go.dev)

Dependency Relation
	imports 9 packages, and imported by one package

Involved Source Files cast.go ed25519.go
Package-Level Type Names (total 2)
/* sort by: | */
(*PrivateKey) Bytes() []byte (*PrivateKey) PublicKey() []byte (*PrivateKey) Seed() []byte func GenerateKey() (*PrivateKey, error) func NewPrivateKey(priv []byte) (*PrivateKey, error) func NewPrivateKeyFromSeed(seed []byte) (*PrivateKey, error) func Sign(priv *PrivateKey, message []byte) []byte func SignCtx(priv *PrivateKey, message []byte, context string) ([]byte, error) func SignPH(priv *PrivateKey, message []byte, context string) ([]byte, error)
(*PublicKey) Bytes() []byte func NewPublicKey(pub []byte) (*PublicKey, error) func Verify(pub *PublicKey, message, sig []byte) error func VerifyCtx(pub *PublicKey, message []byte, sig []byte, context string) error func VerifyPH(pub *PublicKey, message []byte, sig []byte, context string) error
Package-Level Functions (total 10)
GenerateKey generates a new Ed25519 private key pair.
func NewPublicKey(pub []byte) (*PublicKey, error)
func Sign(priv *PrivateKey, message []byte) []byte
func SignCtx(priv *PrivateKey, message []byte, context string) ([]byte, error)
func SignPH(priv *PrivateKey, message []byte, context string) ([]byte, error)
func Verify(pub *PublicKey, message, sig []byte) error
func VerifyCtx(pub *PublicKey, message []byte, sig []byte, context string) error
func VerifyPH(pub *PublicKey, message []byte, sig []byte, context string) error