I am using a Keygen application (.exe). There are two input fields in it's GUI:
p1- at least 1 digit, 10 digits max - ^[0-9]{1,10}$p2- 12 chars max - uppercase letters/digits/underscores - ^[A-Z0-9_]{0,12}$
Pressing generate button produce a key x.
x - 20 digits exactly - ^[0-9]{20}$
For each pair (p1,p2), there is only one x (in other words: f(p1,p2) = x is a function)
I am interested in it's encryption algorithm.
Is there any way of reverse engineering the algorithm?
I thought of two ways:
- decompiling. I used snowman, but the output is too polluted. The decompiled code probably contains non-relevant parts, such as the GUI.
- analyzing of input and output. I wonder if there any option to determine the used encryption algorithm by analyzing a set of
f(p1,p2) = xresults.