@me2em/core
    Preparing search index...

    Function getPublicKey

    • Derives the Ed25519 public key for a private key (synchronous).

      Parameters

      • privateKey: Uint8Array

        32-byte Ed25519 private key.

      Returns Uint8Array

      The 32-byte public key.

      TypeError if the key length is invalid.

      RangeError if the key length is invalid.