Skip to content Skip to sidebar Skip to footer

Pin Algorithm - Converting From Python To Delphi

I am writing an application in Delphi that cracks the PIN for an Android device. There is a working Python source I have that is ; # Generate Hash def generateHash(passcode,salt,mo

Solution 1:

There's a lot more Delphi code there than the Python, but one thing that immediately stands out: Python's range starts at 0 and ends at the number before the argument. If you go from 0 to 1024 in your Delphi code, you're iterating one time too many.


Post a Comment for "Pin Algorithm - Converting From Python To Delphi"