Krypton Level 1 β Level 2

cd /krypton/krypton1ls



Last updated

cd /krypton/krypton1ls



Last updated
cat READMEcat krypton2Encoded_String = "YRIRY GJB CNFFJBEQ EBGGRA"
Decoded_String = ""
for char in Encoded_String:
if char.isupper():
Decoded_String += chr((ord(char) - ord('A') + 13) % 26 + ord('A'))
else:
Decoded_String += char
print(Decoded_String)vim script.py
:wqcat script.pypython3 script.pyEncoded_String = "YRIRY GJB CNFFJBEQ EBGGRA"
for rotate in range(26):
Decoded_String = ""
for char in Encoded_String:
if char.isupper():
Decoded_String += chr((ord(char) - ord('A') + rotate) % 26 + ord('A'))
else:
Decoded_String += char
print(Decoded_String)vim script.py
:wqcat script.pypython3 script.py