# How to contact me

Contacting me is easy, just following the following decoding strategy on this python list:

``````['0b1001100', '0b110010', '0b111001', '0b1101000', '0b1110001', '0b1010100',
'0b1010011', '0b1110111', '0b1110001', '0b1010000', '0b110101', '0b1100111',
'0b1001101', '0b1001000', '0b1001111', '0b1100111', '0b1001100', '0b1001010',
'0b1111001', '0b1100110', '0b1110001', '0b1010100', '0b1110101', '0b1100011',
'0b1101111', '0b1111010', '0b1100110', '0b1101000', '0b1101111', '0b1111010',
'0b1001001', '0b110000']
``````

## Decoding algorithm

• convert all binary numbers to decimals
• convert all decimals to their character equivalents (or just skip the first step and convert from binary to character)
• join all the characters into a string
• run rot13 on that string
• base64 decode that string

## Decoding algorithm (more hints)

• first convert all the binary numbers to decimal, in python you can use the function `int(n,2)` where n is the binary number you want to convert and 2 is the base (binary base 2), but you probably don't want to do that by hand for everything in the list, so some sort of loop would be fun, maybe map one value to another? `a = map(lambda x: int(x,2), d)`
• now convert all those numbers to their character equivalents, in python you would using the `chr()` function to do that. if you want you could probably just apply it to your above `map` to get something like ```a = map(lambda x: chr(int(x,2)), d))```, but you do you!
• now join all those letters into a string maybe something like: `"".join(my_list_of_characters)`
• run a rot_13 on that string, make sure to `import codecs` and then you could run something like `almost_there = codecs.encode(my_string, 'rot_13')`
• almost there! now you just need to `base64decode` that string, so after `import base64` you could so something like `base64.b64decode(almost_there)`
• and that's all you need to do to get my email!

Home