💙 Are you a DApp? We're helping DApps reach out to more users with our promotion service. Contact us now!
View all posts


EIP-2: Accelerating Elliptic Curve Cryptography on EOS

eip2-accelerating-elliptic-curve-cryptography-on-eos

After Dan's suggestion on Twitter, the pEOS team proceeded to propose a new improvement on EOS to accelerate Elliptic Curve encryption within smart contracts.

"Elliptic-curve cryptography (ECC) is an approach to public-key cryptography based on the algebraic structure of elliptic curves over finite fields. " - From Everipedia

ECC has a wide domain of application, notably in encryption, digital signatures and pseudo-random generators. In particular, it is used on Bitcoin to generate public keys. This is possible because the elliptical curve multiplication is an irreversible operation, and it can be used to output a public key without exposing the private key that originated it.


Dan's suggestion

Source

Screenshot 2019-10-16 11-40-24-389


The proposal was presented following the model used on Ethereum, the Ethereum Improvement Proposals (EIPs). This is a standard for making proposals on Ethereum, so that they can be better evaluated and included within its open source code.


EIP-2: Provide intrinsics for addition and scalar multiplication on elliptic curves secp256r1 and secp256k1

Their proposal is to include a compiler toolkit intrinsics for elliptic curve operations inside contracts. So that developers on EOS have easy access to elliptical curve multiplication in smart contracts to create dApps with a higher degree of security and performance.

*"Providing elliptic curve cryptography intrinsics to smart contracts will greatly improve the execution speed, along with the security that smart contract can provide to the users. " *


Sources:

Suggested News