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?
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
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP