I am trying to understand elliptic curve Diffie-Hellman key exchange and here is a book example which I don't understand. Given values of $G=(2,2)$ and I should calculate $203(2,2)$, which actually is $(130,203$). I can do the arithmetic for small numbers but in this case I am very confuses
2026-03-25 20:34:54.1774470894
Scalar Point Multiplication for Elliptic Curve Diffie-Hellman Key Exchange
794 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in ELLIPTIC-CURVES
- Can we find $n$ Pythagorean triples with a common leg for any $n$?
- Solution of $X^5=5 Y (Y+1)+1$ in integers.
- Why does birational equivalence preserve group law in elliptic curves?
- CM elliptic curves and isogeny
- Elliptic Curve and Differential Form Determine Weierstrass Equation
- Difficulty understanding Hartshorne Theorem IV.4.11
- Elementary Elliptic Curves
- Flex points are invariant under isomorphism
- The Mordell equation $x^2 + 11 = y^3$.
- How do we know that reducing $E/K$ commutes with the addition law for $K$ local field
Related Questions in CRYPTOGRAPHY
- What exactly is the definition of Carmichael numbers?
- What if Eve knows the value of $S$ in digital signiture?
- Relative prime message in RSA encryption.
- Encryption with $|K| = |P| = |C| = 1$ is perfectly secure?
- Cryptocurrency Math
- DLP Relationship of primitive roots $\pmod{p}$ with $p$ and $g$
- Hints to prove $2^{(p−1)/2}$ is congruent to 1 (mod p) or p-1 (mod p)
- Period of a binary sequence
- generating function / stream cipher
- RSA, cryptography
Related Questions in COMPUTATIONAL-MATHEMATICS
- The equivalent of 'quantum numbers' for a mathematical problem
- Skewes' number, and the smallest $x$ such that $\pi(x) > \operatorname{li}(x) - \tfrac1n \operatorname{li}(x^{1/2})$?
- Approximating a derivative through Newton interpolation
- What is the value of $2x+3y$?
- Good free calculator for manipulating symbolic matrices of 6x6 and larger?
- How to convert an approximation of CCDF for a standard normal to an approximation with a different mean and variance?
- Simple recursive algorithms to manually compute elementary functions with pocket calculators
- Asymptotic notation proof
- Graph layout that reflects graph symmetries
- What is the most efficient computation of the permanent?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
From the book "Cryptography and Network Security: Principles and Practice" by W. Stallings, we have the following example.
$$y^2 = x^3 - 4 \pmod{211}$$
Your question is how do they calculate the point multiplication $203(2,2) = (130,203)$?
Other than addition, with $n$ being a natural number, we can define another operation: scalar multiplication as $$nP = \underbrace{P + P + \cdots + P}_{n\ \text{times}}.$$
Written in that form, it may seem that computing $nP$ requires $n$ additions. If $n$ has $k$ binary digits, then our algorithm would be $O(2^k)$, which is not really good. But there are many faster algorithms. One of them is the double and add algorithm.
We have $n = 203$. Its binary representation is $11001011_2$. This binary representation can be turned into a sum of powers of two: $$\begin{array}{rcl} 203 & = & 1 \cdot 2^7 + 1 \cdot 2^6 + 0 \cdot 2^5 + 0 \cdot 2^4 + 1 \cdot 2^3 + 0 \cdot 2^2 + 1 \cdot 2^1 + 1 \cdot 2^0 \\ & = & 2^7+2^6+2^3+2^1+2^0\end{array}$$
(We have taken each binary digit of $n$ and multiplied it by a power of two.)
In view of this, we can write: $$203 \cdot P = 2^7 P + 2^6 P + 2^3 P + 2^1 P + 2^0 P$$
In words, the Double and Add algorithm works as follows:
To carry out these calculations, we use the Point Addition and Point Doubling formulas while taking care regarding the point at infinity. The intermediate calculations are
This verifies that $203 (2, 2) = (130, 203)$.
There are tools like SAGE, Magma, GAP, Pari/GP, Mathematica or others that you can use to do these calculations.