> For the complete documentation index, see [llms.txt](https://rayyanwong.gitbook.io/rayyan/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rayyanwong.gitbook.io/rayyan/ctfs/lag-n-crash-2022-march/lnc2022-writeups/xmeaqn-crypto.md).

# XmeAqn ( Crypto )

This question was very straightforward, all i did was create a script to perform a simple XOR on the given strings.

Here is the code snippet:

```python

pyvalue1 = "73757065726d616e20686174652062617473"
value2 = "6261746d616e206c6f766573207375706572"
output = ""

print('%x' % (int(value1,16)^int(value2,16)))

```

## Given by question:

*Use produced combination to fill the blanks `LNC2022{C_ _ _r_ _ _}` (no spaces in-between)*

* 1st character use 24th character of the produced combination - 2nd character use 18th character of the produced combination - 3rd character use 20th character of the produced combination - 4th character use 4th character of the produced combination - 5th character use 5th character of the produced combination - 6th character use 6th character of the produced combination

Looking at the output of the python code and filling in the blanks with the instructions given, I was able to retrieve the flag :D
