92 lines
4.1 KiB
JSON
92 lines
4.1 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "jsbn@~0.1.0",
|
|
"scope": null,
|
|
"escapedName": "jsbn",
|
|
"name": "jsbn",
|
|
"rawSpec": "~0.1.0",
|
|
"spec": ">=0.1.0 <0.2.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/sshpk"
|
|
]
|
|
],
|
|
"_from": "jsbn@>=0.1.0 <0.2.0",
|
|
"_id": "jsbn@0.1.1",
|
|
"_inCache": true,
|
|
"_location": "/jsbn",
|
|
"_nodeVersion": "6.3.1",
|
|
"_npmOperationalInternal": {
|
|
"host": "packages-18-east.internal.npmjs.com",
|
|
"tmp": "tmp/jsbn-0.1.1.tgz_1486886593983_0.3002306066919118"
|
|
},
|
|
"_npmUser": {
|
|
"name": "andyperlitch",
|
|
"email": "andyperlitch@gmail.com"
|
|
},
|
|
"_npmVersion": "3.10.3",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "jsbn@~0.1.0",
|
|
"scope": null,
|
|
"escapedName": "jsbn",
|
|
"name": "jsbn",
|
|
"rawSpec": "~0.1.0",
|
|
"spec": ">=0.1.0 <0.2.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/ecc-jsbn",
|
|
"/sshpk"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
|
|
"_shasum": "a5e654c2e5a2deb5f201d96cefbca80c0ef2f513",
|
|
"_shrinkwrap": null,
|
|
"_spec": "jsbn@~0.1.0",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/sshpk",
|
|
"author": {
|
|
"name": "Tom Wu"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/andyperlitch/jsbn/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers.",
|
|
"devDependencies": {},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "a5e654c2e5a2deb5f201d96cefbca80c0ef2f513",
|
|
"tarball": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz"
|
|
},
|
|
"gitHead": "ed7e7ab56bd2b8a4447bc0c1ef08548b6dad89a2",
|
|
"homepage": "https://github.com/andyperlitch/jsbn#readme",
|
|
"keywords": [
|
|
"biginteger",
|
|
"bignumber",
|
|
"big",
|
|
"integer"
|
|
],
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "andyperlitch",
|
|
"email": "andyperlitch@gmail.com"
|
|
}
|
|
],
|
|
"name": "jsbn",
|
|
"optionalDependencies": {},
|
|
"readme": "# jsbn: javascript big number\n\n[Tom Wu's Original Website](http://www-cs-students.stanford.edu/~tjw/jsbn/)\n\nI felt compelled to put this on github and publish to npm. I haven't tested every other big integer library out there, but the few that I have tested in comparison to this one have not even come close in performance. I am aware of the `bi` module on npm, however it has been modified and I wanted to publish the original without modifications. This is jsbn and jsbn2 from Tom Wu's original website above, with the modular pattern applied to prevent global leaks and to allow for use with node.js on the server side.\n\n## usage\n\n var BigInteger = require('jsbn');\n \n var a = new BigInteger('91823918239182398123');\n alert(a.bitLength()); // 67\n\n\n## API\n\n### bi.toString()\n\nreturns the base-10 number as a string\n\n### bi.negate()\n\nreturns a new BigInteger equal to the negation of `bi`\n\n### bi.abs\n\nreturns new BI of absolute value\n\n### bi.compareTo\n\n\n\n### bi.bitLength\n\n\n\n### bi.mod\n\n\n\n### bi.modPowInt\n\n\n\n### bi.clone\n\n\n\n### bi.intValue\n\n\n\n### bi.byteValue\n\n\n\n### bi.shortValue\n\n\n\n### bi.signum\n\n\n\n### bi.toByteArray\n\n\n\n### bi.equals\n\n\n\n### bi.min\n\n\n\n### bi.max\n\n\n\n### bi.and\n\n\n\n### bi.or\n\n\n\n### bi.xor\n\n\n\n### bi.andNot\n\n\n\n### bi.not\n\n\n\n### bi.shiftLeft\n\n\n\n### bi.shiftRight\n\n\n\n### bi.getLowestSetBit\n\n\n\n### bi.bitCount\n\n\n\n### bi.testBit\n\n\n\n### bi.setBit\n\n\n\n### bi.clearBit\n\n\n\n### bi.flipBit\n\n\n\n### bi.add\n\n\n\n### bi.subtract\n\n\n\n### bi.multiply\n\n\n\n### bi.divide\n\n\n\n### bi.remainder\n\n\n\n### bi.divideAndRemainder\n\n\n\n### bi.modPow\n\n\n\n### bi.modInverse\n\n\n\n### bi.pow\n\n\n\n### bi.gcd\n\n\n\n### bi.isProbablePrime\n\n\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/andyperlitch/jsbn.git"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha test.js"
|
|
},
|
|
"version": "0.1.1"
|
|
}
|