BabyEncryption - HTB - Challenges

import string
#from secret import MSG
#ct = encryption(MSG)
f = open('./msg.enc','r')
text = bytes.fromhex(f.readline())
result = ""
alphabet = string.printable
for char in text:
    for letter in alphabet:
        if((123 * ord(letter) + 18 ) % 256 == char):
            result += letter
print(result)

You'll only receive email when they publish something new.

More from emacab98
All posts