Tags: crypto 

Rating:

> I have encrypted some text but it seems I have lost the key! Can you find it?

With the hint given in the Hint section, we rearrange the code according to XOR. “A text string can only be decrypted by reapplying the XOR function with the key”

*Code in question
*![](https://margheritaviola.com/wp-content/uploads/2024/03/image-47.png)

*Modified code
*![](https://margheritaviola.com/wp-content/uploads/2024/03/image-48.png)

```
wctf{X0R_i5_f0rEv3r_My_L0Ve}
```

Original writeup (https://margheritaviola.com/2024/03/20/wolvctf-crypto-yors-truly-3-writeup/).