Skip to content

Add FromRawSeed and FromCurveSeed factory methods #15

@mtmk

Description

@mtmk

Summary

The Go implementation provides additional factory methods not yet available in .NET:

  • FromRawSeed(prefix PrefixByte, rawSeed []byte) — create a KeyPair from a raw 32-byte seed and prefix
  • FromCurveSeed(seed []byte) — reconstruct a Curve (X25519) KeyPair from an encoded seed

These are useful for interop scenarios and advanced key management.

Approach

Add static factory methods to KeyPair. Purely additive — no existing API changes needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions