Skip to content

Commit 98d8502

Browse files
author
Salehen Shovon Rahman
committed
Moved to bignum. Closes #3
1 parent 994a5b5 commit 98d8502

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
var crypto = require('crypto');
2-
var bigint = require('bigint');
2+
var bigint = require('bignum');
33

44
module.exports = module.exports.createSPEKE = SPEKE;
55
function SPEKE(sizeOrKey, encoding) {

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "speke",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"description": "Simple Password Exponential Key Exchange for Node.js. Resistant to MITM, unlike vanilla Diffie-Hellman",
55
"main": "./index.js",
66
"repository": {
@@ -25,7 +25,7 @@
2525
"test": "./node_modules/mocha/bin/mocha test.js"
2626
},
2727
"dependencies": {
28-
"bigint": "~0.4.2"
28+
"bignum": "^0.9.2"
2929
},
3030
"devDependencies": {
3131
"mocha": "~1.18.2"

0 commit comments

Comments
 (0)