Skip to content

Commit 260c122

Browse files
authored
fix typos
1 parent 19594f4 commit 260c122

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/posts/puctf25.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ print(long_to_bytes(power_mod(c, d, N)))
103103
## Simple AES
104104
As source code is not provided, we need to first make an educated guess of what the functions in the remote instance correspond to. We can carry out two types of operation in the remote instance, so let's see some example inputs
105105

106-
```
106+
```txt
107107
======================
108108
Simple AES
109109
======================
@@ -245,7 +245,7 @@ $$ x \equiv z^{y - Ne} \mod{N} $$
245245
does not seem possible, even though we can pick $x = z^{k}$ for some $k$, we
246246
cannot have $y = Ne + k$ directly due to the boundary condition. This degenerates into a DLP or factorization:
247247

248-
- solving $x = z^{c}$ for $c \in \{y - Ne|0\leq y < 2^{1020}\}$
248+
- solving $x = z^{c} \text{ for } c \in \{y - Ne \mid 0 \leq y < 2^{1020}\}}$
249249
- or finding $\phi(N)$ so we can put $x = 1, y = \phi e - Ne$
250250

251251
which is infeasible, thus, we need extra information to convince the verifier.

0 commit comments

Comments
 (0)