find_the_password by oxygen240

Simply put, the algorithm calculates a hash value using a manually created hash function and checks it against a hard-coded value. It is impossible to recover the original key (if the author had one), so I chose the simplest solution – brute force, given that the algorithm is trivial and will cause many collisions.

These are the all (printable) options for key_length = 4:

And some examples for key_length = 5:

I solved this problem by writing a simple brute-force algorithm that can be found here.

Get the crackme here.