Gemastik CTF 2016 : Classic Crypto - 50

by Abdillah Muhamad — on  , 

cover-image

Problem :

Classic Crypto

Solusi :

def decrypt(text):
  value = 13
  clearText = ""

  for c in text:
    cipherChar = rot(c, value)
    value = (value - 3 ) % 26
    clearText += cipherChar

  print reverse(clearText)
abdilahrf:~/workspace/CTF/gemastik $ python classic.py 
=== Gemastik - Classic Crypto ===


Insert your text :
}h3dokh_yfvxlm_zdaqs_lselv_k_aqqkmm_iyepli_oxknymg_unukx_qy_yfryi{NOCEPEZE
GEMASTIK{learn_to_break_classic_cipher_before_u_learn_about_modern_ciph3r}
Encrypted text :

Comments