nakov / Practical-Cryptography-for-Developers-Book

Practical Cryptography for Developers: Hashes, MAC, Key Derivation, DHKE, Symmetric and Asymmetric Ciphers, Public Key Cryptosystems, RSA, Elliptic Curves, ECC, secp256k1, ECDH, ECIES, Digital Signatures, ECDSA, EdDSA
https://cryptobook.nakov.com
MIT License
3.49k stars 425 forks source link

Example: Multiply EC Point by Integer #69

Open wsw109 opened 10 months ago

wsw109 commented 10 months ago

maybe have a error here : "Example: Multiply EC Point by Integer":

image

for k = 6, G = {15,13}, P = kG = 6{15,13} = {90,78} mod 17 = {5,10}, which is not the {5,8}.

am I correct?

kiankyars commented 2 weeks ago

you are not correct, please look at the definition EC scalar multiplication, it is not the same as normal multiplication