> For the complete documentation index, see [llms.txt](https://the-winrars.gitbook.io/writeups/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://the-winrars.gitbook.io/writeups/2020-writeups/tokyo-westerns-ctf/easy-hash.md).

# easy-hash

## easy-hash

The hashing function takes a sum of the integer representation of 4 byte blocks. This means that the order of the blocks doesn't matter, we can just change the order of 2 of the blocks (that don't interfere with the other checks), and get a collision.

```
curl https://crypto01.chal.ctf.westerns.tokyo -d 'twctf: p givleasee me the flag of 2020'
```

**Flag: TWCTF{colorfully\_decorated\_dream}**
