Skip to content

Instantly share code, notes, and snippets.

View niooss-ledger's full-sized avatar

Nicolas IOOSS niooss-ledger

View GitHub Profile
@niooss-ledger
niooss-ledger / zkhack2024_V_puzzle_V3_writeup.md
Created December 13, 2024 15:06
Write-up for ZK Hack V puzzle V3: Shadow

Write-up for ZK Hack V puzzle V3: Shadow

Nicolas IOOSS, 2024-12-10

0. Warm-up

Like previous puzzles, the day before the last puzzle of ZK Hack V a tweet proposed a warm-up challenge:

Ready for 𝐙𝐊 𝐇𝐚𝐜𝐤 𝐕 Puzzle #3 tomorrow? >

@niooss-ledger
niooss-ledger / zkhack2024_V_puzzle_V2_writeup.md
Last active December 11, 2024 23:31
Write-up for ZK Hack V puzzle V2: Don't Look Up

Write-up for ZK Hack V puzzle V2: Don't Look Up

Nicolas IOOSS, 2024-12-03

0. Warm-up

The day before the second puzzle of ZK Hack V was released and its title revealed, a tweet proposed a challenge:

Ready for Puzzle V2 unveiling tomorrow? >

@niooss-ledger
niooss-ledger / zkhack2024_V_puzzle_V1_writeup.md
Created November 30, 2024 09:55
Write-up for ZK Hack V puzzle V1: Zeitgeist

Write-up for ZK Hack V puzzle V1: Zeitgeist

Nicolas IOOSS, 2024-11-26

0. Warm-up

The day before the release of the first puzzle for ZK Hack V, a tweet was published:

Puyjwuyij

@niooss-ledger
niooss-ledger / README.md
Last active April 17, 2024 09:56
Short write-up for RWPQC CTF 2024

Short write-up for RWPQC CTF 2024

Subject: https://github.com/sandbox-quantum/CTF-RWPQC2024/tree/ea398c3e934cdb35198c4efa180fa6bd6e2f9670

Challenge 1

As the secret key $s$ is only 32-bit long, it is possible to brute-force it. As $t_1 = A_1 * s_1 + A_2 * s_2 + e$ with $e$ some error polynomials, we can speed things up by splitting the brute-force in two 16-bit enumerations with $s_1$ and $s_2$ and comparing $A_1 * s_1$ with $t_1 - A_2 * s_2$. If these two polynomials have coefficients which only differ by one, $(s_1, s_2)$ is likely to be the secret key.

@niooss-ledger
niooss-ledger / zkhack2024_IV_puzzleF3_writeup.md
Last active February 7, 2024 12:39
Write-up for ZK Hack IV puzzle F3: Chaos Theory
@niooss-ledger
niooss-ledger / zkhack2024_IV_puzzleF2_writeup.md
Created January 24, 2024 11:36
Write-up for ZK Hack IV puzzle F2: Supervillain
@niooss-ledger
niooss-ledger / zkhack2024_IV_puzzleF1_writeup.md
Last active February 7, 2024 04:31
Write-up for ZK Hack IV puzzle F1: Gamma Ray
@niooss-ledger
niooss-ledger / zkhack2022_III_puzzle3_writeup.md
Last active December 13, 2022 21:09
Write-up for ZK Hack III puzzle #3: Bigger is Better
@niooss-ledger
niooss-ledger / zkhack2022_III_puzzle2_writeup.md
Created December 5, 2022 11:43
Write-up for ZK Hack III puzzle #2: Power corrupts
@niooss-ledger
niooss-ledger / zkhack2022_III_puzzle1_writeup.md
Created November 28, 2022 18:46
Write-up for ZK Hack III puzzle #1: Zero-Sum Game