# CTFZone 2017 Forensics/Misc1000: Puzzle Writeup

Written by harrier, participated as 0x000505AD

No victory can dispense with mighty patron, hence the more powerful your supporter is the better. Yesterday you finally managed to get in contact with one secret society. It seems that they might back your candidate if you accomplish the task they sent you as a rite of passage. You may find it easy at first glance but I wouldn’t be so naive…

*flag format: ctfzone{flag_you_found}

For puzzle: The way to the magister’s mystery lies through the five degrees:

1. Find all pieces of the puzzle and solve it.
2. Realize the secret behind the names.
3. Find the ritual book.
4. Involve into ritual
5. Translate the flag

# MeePwnCTF 2017 Crypto100: Simpler than RSA? Writeup

Key generation:

• 生成兩個 90 bits 的質數：$$p, q$$, 並設 $$n = p^2 q$$
• 生成一個亂數 $$g$$ 使得 $$1 \leq g \leq n$$
• 算出 $$h \equiv g^n (\text{mod }n)$$
• 傳回 $$(n, g, h)$$