ecdsaRecover

abstract fun ecdsaRecover(    sig: ByteArray,     message: ByteArray,     recid: Int): ByteArray

Recover a public key from an ECDSA signature.

Parameters

sig

ecdsa compact signature (64 bytes).

message

message signed.

recid

recoveryId (should have been provided with the signature to allow recovery).