Skip to main content
Polish
Source Link
fgrieu
  • 145.4k
  • 12
  • 319
  • 611

In an RSA-encryption scenario, Bob's public key pair $(n, e)$ is $(143, 43)$. An attacker Mallory tries brute-force and comes to $d = 7$ as the private key.

The value of $φ(143) = 120$ is not known to Mallory.

However from $43 \cdot d \equiv 1 \bmod 120$$43 \cdot d \equiv 1 \pmod{120}$, one can calculate the first positive element $d = 67$ from congruence class $d = 67 + 120n$ and $n \in \mathbb{Z}$

$d = 7$ clearly doesn't fit in that congruence class, so how come it can successfully decrypt the encryption?

In an RSA-encryption scenario, Bob's public key pair $(n, e)$ is $(143, 43)$. An attacker Mallory tries brute-force and comes to $d = 7$ as the private key.

The value of $φ(143) = 120$ is not known to Mallory.

However from $43 \cdot d \equiv 1 \bmod 120$, one can calculate the first positive element $d = 67$ from congruence class $d = 67 + 120n$ and $n \in \mathbb{Z}$

$d = 7$ clearly doesn't fit in that congruence class, so how come it can successfully decrypt the encryption?

In an RSA-encryption scenario, Bob's public key pair $(n, e)$ is $(143, 43)$. An attacker Mallory tries brute-force and comes to $d = 7$ as the private key.

The value of $φ(143) = 120$ is not known to Mallory.

However from $43 \cdot d \equiv 1 \pmod{120}$, one can calculate the first positive element $d = 67$ from congruence class $d = 67 + 120n$ and $n \in \mathbb{Z}$

$d = 7$ clearly doesn't fit in that congruence class, so how come it can successfully decrypt the encryption?

I wanted to comment this instead, but I don't have enough reputation for that. But saying that 120 + 67n are the right private keys, and that it is a multiplicative group, without it being commented on in any of the answers will probably confuse a lot of users who are new to cryptography...
Source Link

In an RSA-encryption scenario, Bob's public key pair $(n, e)$ is $(143, 43)$. An attacker Mallory tries brute-force and comes to $d = 7$ as the private key.

The value of $φ(143) = 120$ is not known to Mallory.

However from $43 \cdot d \equiv 1 \bmod 120)$$43 \cdot d \equiv 1 \bmod 120$, one can calculate the first positive element $d = 67$ from multiplicative groupcongruence class $d = 120 + 67n$$d = 67 + 120n$ and $n \in \mathbb{Z}$

$d = 7$ clearly doesn't fit in that multiplicative groupcongruence class, so how come it can successfully decrypt the encryption?

In an RSA-encryption scenario, Bob's public key pair $(n, e)$ is $(143, 43)$. An attacker Mallory tries brute-force and comes to $d = 7$ as the private key.

The value of $φ(143) = 120$ is not known to Mallory.

However from $43 \cdot d \equiv 1 \bmod 120)$, one can calculate the first positive element $d = 67$ from multiplicative group $d = 120 + 67n$ and $n \in \mathbb{Z}$

$d = 7$ clearly doesn't fit in that multiplicative group, so how come it can successfully decrypt the encryption?

In an RSA-encryption scenario, Bob's public key pair $(n, e)$ is $(143, 43)$. An attacker Mallory tries brute-force and comes to $d = 7$ as the private key.

The value of $φ(143) = 120$ is not known to Mallory.

However from $43 \cdot d \equiv 1 \bmod 120$, one can calculate the first positive element $d = 67$ from congruence class $d = 67 + 120n$ and $n \in \mathbb{Z}$

$d = 7$ clearly doesn't fit in that congruence class, so how come it can successfully decrypt the encryption?

Tweeted twitter.com/StackCrypto/status/1351046671262773250
Became Hot Network Question
latex syntax
Source Link
kelalaka
  • 49.5k
  • 12
  • 118
  • 205

In an RSA-encryption scenario, Bob's public key pair $(n, e)$ is $(143, 43)$. An attacker Mallory tries brute-force and comes to $d = 7$ as the private key.

The value of $φ(143) = 120$ is not knowknown to Mallory.

However from $43 ⊙ d ≡ 1$ $(mod$ $120)$$43 \cdot d \equiv 1 \bmod 120)$, one can calculate the first positive element $d = 67$ from multiplicative group $d = 120 + 67n$ and $n ∈ ℤ$$n \in \mathbb{Z}$

$d = 7$ clearly doesn't fit in that multiplicative group, so how come it can successfully decrypt the encryption?

In an RSA-encryption scenario, Bob's public key pair $(n, e)$ is $(143, 43)$. An attacker Mallory tries brute-force and comes to $d = 7$ as the private key.

The value of $φ(143) = 120$ is not know to Mallory.

However from $43 ⊙ d ≡ 1$ $(mod$ $120)$, one can calculate the first positive element $d = 67$ from multiplicative group $d = 120 + 67n$ and $n ∈ ℤ$

$d = 7$ clearly doesn't fit in that multiplicative group, so how come it can successfully decrypt the encryption?

In an RSA-encryption scenario, Bob's public key pair $(n, e)$ is $(143, 43)$. An attacker Mallory tries brute-force and comes to $d = 7$ as the private key.

The value of $φ(143) = 120$ is not known to Mallory.

However from $43 \cdot d \equiv 1 \bmod 120)$, one can calculate the first positive element $d = 67$ from multiplicative group $d = 120 + 67n$ and $n \in \mathbb{Z}$

$d = 7$ clearly doesn't fit in that multiplicative group, so how come it can successfully decrypt the encryption?

edited body
Source Link
user86295
  • 131
  • 1
  • 4
Loading
Source Link
user86295
  • 131
  • 1
  • 4
Loading