3. ASCII

Challenge Description:

ASCII is a 7-bit encoding standard which allows the representation of text using the integers 0-127. Using the below integer array, convert the numbers to their corresponding ASCII characters to obtain a flag. [99, 114, 121, 112, 116, 111, 123, 65, 83, 67, 73, 73, 95, 112, 114, 49, 110, 116, 52, 98, 108, 51, 125] In Python, the chr() function can be used to convert an ASCII ordinal number to a character (the ord() function does the opposite).

My Solution:

We will save those numbers in a list and convert each character using the chr() function, and print the result:

List = [99, 114, 121, 112, 116, 111, 123, 65, 83, 67, 73, 73, 95, 112, 114, 49, 110, 116, 52, 98, 108, 51, 125]

DecodedString = ""

for i in List:
    DecodedString += chr(i)

print("Here is your flag:")
print(DecodedString)

The Flag:

crypto{ASCII_pr*******}

Last updated