update
This commit is contained in:
40
package/node_modules/jsbn/LICENSE
generated
vendored
Normal file
40
package/node_modules/jsbn/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
Licensing
|
||||
---------
|
||||
|
||||
This software is covered under the following copyright:
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003-2005 Tom Wu
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sublicense, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be
|
||||
* included in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
|
||||
* EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
|
||||
* WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
|
||||
* INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER
|
||||
* RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF
|
||||
* THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT
|
||||
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*
|
||||
* In addition, the following condition applies:
|
||||
*
|
||||
* All redistributions must retain an intact copy of this copyright notice
|
||||
* and disclaimer.
|
||||
*/
|
||||
|
||||
Address all questions regarding this license to:
|
||||
|
||||
Tom Wu
|
||||
tjw@cs.Stanford.EDU
|
11
package/node_modules/jsbn/example.html
generated
vendored
Normal file
11
package/node_modules/jsbn/example.html
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<script src="index.js"></script>
|
||||
<script src="example.js"></script>
|
||||
</body>
|
||||
</html>
|
5
package/node_modules/jsbn/example.js
generated
vendored
Normal file
5
package/node_modules/jsbn/example.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
(function () {
|
||||
var BigInteger = jsbn.BigInteger;
|
||||
var a = new BigInteger('91823918239182398123');
|
||||
console.log(a.bitLength());
|
||||
}());
|
1361
package/node_modules/jsbn/index.js
generated
vendored
Normal file
1361
package/node_modules/jsbn/index.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
21
package/node_modules/jsbn/package.json
generated
vendored
Normal file
21
package/node_modules/jsbn/package.json
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "jsbn",
|
||||
"version": "1.1.0",
|
||||
"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.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "mocha test.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/andyperlitch/jsbn.git"
|
||||
},
|
||||
"keywords": [
|
||||
"biginteger",
|
||||
"bignumber",
|
||||
"big",
|
||||
"integer"
|
||||
],
|
||||
"author": "Tom Wu",
|
||||
"license": "MIT"
|
||||
}
|
3
package/node_modules/jsbn/test/es6-import.js
generated
vendored
Normal file
3
package/node_modules/jsbn/test/es6-import.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import {BigInteger} from '../';
|
||||
|
||||
console.log(typeof BigInteger)
|
Reference in New Issue
Block a user