Tags: substitution crypto xor 

Rating:

## Solution

First we analyze the code and figure out that this is just a __substitution encryption__ + __xor encryption__, with a very short xor key and some known plaintext.

__For full implemetation and solution see the URL__

Original writeup (https://github.com/pberba/ctf-solutions/tree/master/20181025_bsidesdelhi/crypto-100-tile_mate).