TransWikia.com

Verifying Signatures from other ECC Curves with ecRecover

Ethereum Asked by notoriousJ on August 26, 2021

My Question is, can I verify a ECDSA Signature from a different ECC Curve like scep128r1 or secp256k1 with the ecRecover function?

If not, are there any good Library’s which have implemented this feature?

One Answer

It is not possible to use ecrecover with curves other than secp256k1.

There's the library SolCrypto that implements some cryptographic primitives for other supported types like alt-bn128.

The EVM is very simple machine, implementing ECC for standard curves on top of it I'd say is unfeasible due to costs.

The other option is to add them as precompiled contracts. There are several improvement proposals https://eips.ethereum.org/all.

Answered by Ismael on August 26, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP