1

As we know Ethereum uses ECDSA (Elliptic Curve Digital Signature Algorithm) for its public-key cryptography. Which algorithm EOS uses for encryption?

2

Bitcoin, Ethereum or EOS uses secp256k1 algorithm. Not approximately, but exactly same. You can derive Ethereum address from EOS private key and sign Ethereum transaction. One difference between EOS and others, EOS supports secp256r1 a.k.a prime-256 which is NIST standard and supported by Android or iOS platform libraries. You can find there are two types of key in EOS (K1, R1) and each one indicates secp256k1 or secp256r1.

| improve this answer | |
  • Nice answer! Do you have any references or links to appropriate sections of code that show this? – Phillip Hamnett - EOS42 Jul 18 '19 at 6:32
  • @PhillipHamnett-EOS42 I'm sorry, but I don't have a single source of this information. However, you can see all blockchains mentioned, Bitcoin, Ethereum and EOS depend on libsecp256k1. – conr2d Jul 18 '19 at 12:34
1

EOS also uses Elliptic curve cryptography for more you can refer https://github.com/EOSIO/eosjs-ecc

| improve this answer | |
  • Does this mean that Ethereum and EOS use approximately same encryption algorithm? – Nirdesh Kumar Choudhary Jul 18 '19 at 5:01

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