leading zeros after hashing are not dropped on M1 and M2

Issue #1 resolved
simon repo owner created an issue

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)

  1. Log in to comment