These docs are for v1.3.0. Click to read the latest docs for v1.6.

recover_key

Calculates the public key used for a given signature and hash used to create a message.

Parameters

  • digest - Hash used to create a message
  • sig - Signature
  • siglen - Signature length
  • pub - Public key
  • publen - Public key length

Example