Currently I'm reading about RSA and have a trouble understanding the following formula: $$e \cdot d \equiv 1 (\mod (p-1)(q-1)) $$ From Wikipedia I know that for a given positive integer $n$, two integer $a$ and $b$ are called congruent modulo $n$ if $a$ and $b$ have the same remainder when divided by $n$. But! If you take a reminder of $1$ divided but any $n>1$, the remainder will be $1$. That is, we can simplify he first formula to be: $$(e \cdot d) \mod ((p-1)(q-1)) = 1 $$ Are these formulas equivalent?
2026-03-26 22:20:03.1774563603
Cannot understand congruence relation from RSA
663 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in CONGRUENCES
- How do I find the least x that satisfies this congruence properties?
- Counting the number of solutions of the congruence $x^k\equiv h$ (mod q)
- Considering a prime $p$ of the form $4k+3$. Show that for any pair of integers $(a,b)$, we can get $k,l$ having these properties
- Congruence equation ...
- Reducing products in modular arithmetic
- Can you apply CRT to the congruence $84x ≡ 68$ $(mod$ $400)$?
- Solving a linear system of congruences
- Computing admissible integers for the Atanassov-Halton sequence
- How to prove the congruency of these triangles
- Proof congruence identity modulo $p$: $2^2\cdot4^2\cdot\dots\cdot(p-3)^2\cdot(p-1)^2 \equiv (-1)^{\frac{1}{2}(p+1)}\mod{p}$
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
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?
$a \equiv b\pmod n\,$ means $\,n\mid a-b,\ $ i.e. $\,a-b = nk,\,$ for some integer $k$.
$(a\bmod n) = b\ $ means the above plus $\,0\le b < n,\,$ i.e. $\,b\,$ is the least natural $\equiv a\pmod n$ or, equivalently, $\,b\,$ is the remainder left when dividing $\,a\,$ by $\,n.\,$
In your case $\,b = 1 < n\,$ is always true so they are always equivalent. But for larger $\,b\,$ this is not true, e.g. $\, 0 \equiv 2\pmod 2\,$ but $\,(0\bmod 2)\ne 2.$
Congruence relations are often more convenient for theory, whereas normal forms (such as produced by the mod operator) are often more convenient for computation. But it is best to be proficient with the use of both, and to be able to quickly convert back-and-forth between the two as need be.