@mtkruto/node 0.77.0 → 0.77.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -62,7 +62,7 @@ export class ClientPlain extends ClientAbstract {
|
|
|
62
62
|
if (!resPq) {
|
|
63
63
|
unreachable();
|
|
64
64
|
}
|
|
65
|
-
const pq_ = intFromBytes(resPq.pq, { byteOrder: "
|
|
65
|
+
const pq_ = intFromBytes(resPq.pq, { byteOrder: "big", isSigned: false });
|
|
66
66
|
LcreateAuthKey.debug(`pq=${pq_}`);
|
|
67
67
|
const [p_, q_] = factorize(pq_);
|
|
68
68
|
LcreateAuthKey.debug("factorized pq");
|
package/package.json
CHANGED
|
@@ -65,7 +65,7 @@ class ClientPlain extends _0_client_abstract_js_1.ClientAbstract {
|
|
|
65
65
|
if (!resPq) {
|
|
66
66
|
(0, _0_deps_js_1.unreachable)();
|
|
67
67
|
}
|
|
68
|
-
const pq_ = (0, _1_utilities_js_1.intFromBytes)(resPq.pq, { byteOrder: "
|
|
68
|
+
const pq_ = (0, _1_utilities_js_1.intFromBytes)(resPq.pq, { byteOrder: "big", isSigned: false });
|
|
69
69
|
LcreateAuthKey.debug(`pq=${pq_}`);
|
|
70
70
|
const [p_, q_] = (0, _1_utilities_js_1.factorize)(pq_);
|
|
71
71
|
LcreateAuthKey.debug("factorized pq");
|