I am using Oraclize to recover a signature from a website. When I have it, I have to check if the address who signed it is correct. To do that, I would use ECRecovery from Zeppelin.

The signature returned by Oraclize is a hexadecimal string like this


Though, recover expects the signature being a 65-bytes long bytes.

Is there any way to do the conversion in Solidity?

Thanks so much in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.