• ECDSA Sign a message with the given private key.

    Parameters

    • message: Uint8Array

      The message to sign, usually a hash.

    • privateKey: Uint8Array

      The ECDSA private key to use to sign the message.

    Returns Promise<Uint8Array>

    The signature and the recovery id concatenated.

Generated using TypeDoc