I am writing a contract in solidity for verifying multiple signature schemes.I found that solidity supports ECDSA, but how do I add check for RSA and Ed25519. is there any existing method/library developed that can be used?

1 Answer 1


RSA signature verification is possible in ethereum by virtue of EIP-198. You can see an example usage in modExp function in this answer. There is a draft EIP-665 for Ed25519 signature verification. This is not final yet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.