Skip to content

eddsa.GenerateKey uses internal parameter #176

@Alkorin

Description

@Alkorin

I try to generate a private Ed25519 Key, but eddsa.GenerateKey expects an ecc.EdDSACurve and NewEd25519 is inside an internal package :/

Is there a way to generate a private Ed25519 Key like in

eddsaPriv, err := eddsa.GenerateKey(rand.Reader, ecc.NewEd25519())
?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions