If input size is even it will generate a reversed password , if we assume input is : Test it will generate : tseT.
so if we Enter TesttseT, it will generate the same, so it will grant access.
If input size is odd, we assume input we wanna enter is : Crack
It will generate kcarC, so if we wanna get access with odd input size, we have to enter CrackcarC.
In short : It generates password with reversing entered input. |
==> |