keybase-nacl
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -121,2 +121,10 @@ // Generated by IcedCoffeeScript 1.8.0-e | ||
Sodium.prototype.scalarmult_base = function(n) { | ||
return new Buffer(this.lib.c.crypto_scalarmult_base(n)); | ||
}; | ||
Sodium.prototype.scalarmult = function(n, P) { | ||
return new Buffer(this.lib.c.crypto_scalarmult(n, P)); | ||
}; | ||
return Sodium; | ||
@@ -123,0 +131,0 @@ |
@@ -102,2 +102,10 @@ // Generated by IcedCoffeeScript 1.8.0-e | ||
TweetNaCl.prototype.scalarmult_base = function(n) { | ||
return new Buffer(this.lib.js.scalarMult.base(n)); | ||
}; | ||
TweetNaCl.prototype.scalarmult = function(n, P) { | ||
return new Buffer(this.lib.js.scalarMult(n, P)); | ||
}; | ||
return TweetNaCl; | ||
@@ -104,0 +112,0 @@ |
{ | ||
"name": "keybase-nacl", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "A small wrapper library to switch between C and JS NaCl depending on the install", | ||
@@ -36,2 +36,2 @@ "main": "lib/main.js", | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
813878
24
24639
17