- changed status to resolved
leading zeros after hashing are not dropped on M1 and M2
Issue #1
resolved
The PHP code is tested against the JS code. The JS code is tested against the Java code in the other repos. The Java BigInteger logic strips leading zeros when it converts to hex. This means that the JS code has to strip leading zeros to be compatible with the Java code. This means that the PHP code has to strip leading zeros also.
Comments (1)
-
reporter - Log in to comment
resolved and added a unit test which checks 100 verifications using values output from the Java code.