Home
last modified time | relevance | path

Searched refs:jsbn_1 (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/npm/node_modules/ip-address/dist/
Dipv6.js36 const jsbn_1 = require("jsbn"); constant
309 return addCommas(new jsbn_1.BigInteger('2', 10).pow(subnetPowers).toString(10));
318 … return new jsbn_1.BigInteger(this.mask() + '0'.repeat(constants6.BITS - this.subnetMask), 2);
338 const adjust = new jsbn_1.BigInteger('1');
348 … return new jsbn_1.BigInteger(this.mask() + '1'.repeat(constants6.BITS - this.subnetMask), 2);
368 const adjust = new jsbn_1.BigInteger('1');
405 return new jsbn_1.BigInteger(this.getBitsBase2(start, end), 2);
622 return new jsbn_1.BigInteger(this.parsedAddress.map(paddedHex).join(''), 16);
635 …return ipv4_1.Address4.fromHex(new jsbn_1.BigInteger(binary.slice(96, 128).join(''), 2).toString(1…
682 const udpPort = this.getBits(80, 96).xor(new jsbn_1.BigInteger('ffff', 16)).toString();
[all …]
Dipv4.js31 const jsbn_1 = require("jsbn"); constant
186 …return new jsbn_1.BigInteger(this.parsedAddress.map((n) => (0, sprintf_js_1.sprintf)('%02x', parse…
195 return new jsbn_1.BigInteger(this.mask() + '0'.repeat(constants.BITS - this.subnetMask), 2);
215 const adjust = new jsbn_1.BigInteger('1');
225 return new jsbn_1.BigInteger(this.mask() + '1'.repeat(constants.BITS - this.subnetMask), 2);
245 const adjust = new jsbn_1.BigInteger('1');