./Contact

./Contact

Reach out to me at Mastodon. If viewers need to reach me via email, here's a riddle:

  1. What number becomes smaller when you turn it upside down?

Hint: Single digit number.

The answer is the caesar cipher key to decrypt the following hex code:

\x7c\x6b\x81\x7f\x6e\x7b\x7c\x72\x78\x77\x3b\x49\x70\x76\x6a\x72\x75\x37\x6c\x78\x76

Deciphering routine can be done with the following python script.. Who doesn't love python. ;)

#!/usr/bin/env python3
import sys
import binascii

encryptedHex = r"\x7c\x6b\x81\x7f\x6e\x7b\x7c\x72\x78\x77\x3b\x49\x70\x76\x6a\x72\x75\x37\x6c\x78\x76"

def decryptHexFunc(a, b):
    decode = ""
    for i in a:
        i = int(i, 16)
        ccKey = i - b

        decode += "\\x"
        decode += "%02x" % ccKey

    decodeList = decode[2:].split("\\x")
    return binascii.unhexlify(''.join(decodeList)).decode("utf-8",errors="ignore")

def main():
    while True:
        a = encryptedHex[2:].split("\\x")
        b = input("Enter Key: ")
        print(decryptHexFunc(a, int(b)))

if __name__ == '__main__':
    main()

Thank you for playing.