You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this cannot be used for snark verification as you need to do pairing additons and multiplications which i don't think is possible with secp256k1
Recently Vitalik Buterin proposed to abuse
ecrecover
to compute hashed result ofecmul
:https://ethresear.ch/t/you-can-kinda-abuse-ecrecover-to-do-ecmul-in-secp256k1-today/2384
I had implemented his idea: https://github.com/1Address/ecsol/blob/master/contracts/EC.sol
It uses about 32K gas to call
ecmulVerify
.The text was updated successfully, but these errors were encountered: