Comparing version 0.0.9 to 0.1.0
{ | ||
"name": "sm-crypto", | ||
"version": "0.0.9", | ||
"version": "0.1.0", | ||
"description": "sm-crypto", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "jest test/*.test.js", | ||
"test": "jest ./test/*", | ||
"build": "webpack" | ||
@@ -9,0 +9,0 @@ }, |
@@ -183,6 +183,6 @@ const { BigInteger } = require('jsbn'); | ||
intToBigEndian(n, bs, off) { | ||
bs[off] = Int32.parseByte(this.urShift(n, 24)); | ||
bs[++off] = Int32.parseByte(this.urShift(n, 16)); | ||
bs[++off] = Int32.parseByte(this.urShift(n, 8)); | ||
bs[++off] = Int32.parseByte(n); | ||
bs[off] = Int32.parseByte(this.urShift(n, 24)) & 0xff; | ||
bs[++off] = Int32.parseByte(this.urShift(n, 16)) & 0xff; | ||
bs[++off] = Int32.parseByte(this.urShift(n, 8)) & 0xff; | ||
bs[++off] = Int32.parseByte(n) & 0xff; | ||
} | ||
@@ -189,0 +189,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55940