@me2em/core
    Preparing search index...

    Function getPublicKeyAsync

    • Derives the Ed25519 public key for a private key (asynchronous variant of getPublicKey; same contract).

      Parameters

      • privateKey: Uint8Array

        32-byte Ed25519 private key.

      Returns Promise<Uint8Array>

      A Promise resolving to the 32-byte public key.

      TypeError if the key length is invalid.

      RangeError if the key length is invalid.