Let $N$ be a positive integer. Consider the affine cipher on the space of plaintext messages $\mathcal M=\mathbb Z/N\mathbb Z$ with encryption function $e(m)=am+b$ where $a,b\;\epsilon\; \mathbb Z/N\mathbb Z$ and $a\neq1\pmod{N}$. Also assume $N$ is prime. $$$$ I've been playing around for this for quite some time at this point and haven't gotten too far. I have found that for $m=-ba^{-1}$ we get $e(-ba^{-1})\equiv a(-ba^{-1})+b\equiv (aa^{-1})-b+b\equiv -b+b\equiv 0\pmod{N}$. I don't think that's very useful, however, I don't really know how else to attack this problem. If someone could just point me in the right direction I'd much appreciate it.
2026-03-26 06:28:21.1774506501
Show that an Affine Cipher with a prime modulo $N$ fixes exactly one plaintext message $m$ in $\mathcal M$
148 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in ELEMENTARY-NUMBER-THEORY
- Maximum number of guaranteed coins to get in a "30 coins in 3 boxes" puzzle
- Interesting number theoretical game
- How do I show that if $\boldsymbol{a_1 a_2 a_3\cdots a_n \mid k}$ then each variable divides $\boldsymbol k $?
- Using only the digits 2,3,9, how many six-digit numbers can be formed which are divisible by 6?
- Algebra Proof including relative primes.
- How do I show that any natural number of this expression is a natural linear combination?
- Counting the number of solutions of the congruence $x^k\equiv h$ (mod q)
- algebraic integers of $x^4 -10x^2 +1$
- What exactly is the definition of Carmichael numbers?
- Number of divisors 888,888.
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?
Suppose that $f: \mathbb{Z}_p \to \mathbb{Z}_p$ by $f(x) = ax+b$ is your affine map, where $a \neq 0,1$. (You should exclude $a =0$ or you don't have a bijection. If you for some reason allow $a=0$ the statement is still correct since $x=b$ will be the unique fixed point.) You are asking about fixed points $x$ from the message space $\mathbb{Z}_p$ so that $f(x)=x$. Well, just write it out: $$ f(x) = ax + b=x. $$ Now do the algebra: $$ ax-x=-b \Rightarrow (a-1)x=-b. $$ Since you've assumed $a \neq 1$, we know $a-1 \neq 0$, so we can invert $a-1$ since we are working mod $p$ and all non-zero elements are invertble: $$ x=-(a-1)^{-1}b. $$ Hence you can check that (a) this $x$ is indeed fixed by $f$ and (b) it's the only fixed point (use the same idea above).