Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 368 Bytes

ancient_encodings.md

File metadata and controls

11 lines (9 loc) · 368 Bytes

Ancient encodings (very easy)

This challenge just base64 encodes the input, converts it to bytes and writes the hex representation.

To solve this we just do the inverse operation on all of these in reverse order.

import base64
content = open('./output.txt', 'r').read()
cont = bytes.fromhex(content[2:])
print(base64.b64decode(cont).decode('utf-8'))