Function getSignature

  • Gets Ed25519 signature for digest.

    Returns

    the signature.

    Parameters

    • digest: ArrayBuffer

      the message to sign.

    • privateKey: string

      the ed25519 private key in HEX format.

    Returns Promise<Buffer>

Generated using TypeDoc