Skip to content

Latest commit

 

History

History

21-elgamal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

海山樓 / Flawed ElGamal

Summary

  • Author: Mystiz
  • Categories: crypto
  • Stars: ★☆☆☆☆
  • Points: 50
  • Solves: 127 (Secondary: 47/208, Tertiary: 39/124, Open: 36/107, Invited: 5/12)

Description (zh-HK)

密碼學好難,每一個小錯誤都會導致成個系統完全崩潰。

我竭盡全力按照維基百科嘅教學嚟寫咗個 ElGamal 密碼系統。夠 firm 喇掛?

nc chal.hkcert22.pwnable.hk 28021

附件:elgamal_0463dd0701797c02de46bae07b26de2e.zip

題解:https://hackmd.io/@blackb6a/hkcert-ctf-2022-i-zh-3f8a9ef6

Description (en)

Cryptography is difficult. It is hard to implement -- every small mistakes would lead to a total break down.

I tried my very best to implement the ElGamal according to the Wikipedia page. What can go wrong?

nc chal.hkcert22.pwnable.hk 28021

Attachment: elgamal_0463dd0701797c02de46bae07b26de2e.zip

Solution: https://hackmd.io/@blackb6a/hkcert-ctf-2022-i-en-3f8a9ef6

Flag

hkcert22{4nd_th1s_t1m3_7h3_i5su3_1s_s0l31y_n0t_t4k1n9_m0du10s}