use fast implementations of tweetnacl serverside
This commit is contained in:
1 parent
252b2729a6
commit
069776e804
6 files changed
+6
-6
No files matched your search
@@ -530,7 +530,7 @@ Version 1
|
||||
};
|
||||
|
||||
if (typeof(module) !== 'undefined' && module.exports) {
|
||||
module.exports = factory(require("./common-util"), require("chainpad-crypto"), require("tweetnacl"));
|
||||
module.exports = factory(require("./common-util"), require("chainpad-crypto"), require("tweetnacl/nacl-fast"));
|
||||
} else if ((typeof(define) !== 'undefined' && define !== null) && (define.amd !== null)) {
|
||||
define([
|
||||
'/common/common-util.js',
|
||||
|
||||
+1
-1
@@ -404,7 +404,7 @@ var factory = function (Util, Nacl) {
|
||||
};
|
||||
|
||||
if (typeof(module) !== 'undefined' && module.exports) {
|
||||
module.exports = factory(require("./common-util"), require("tweetnacl"));
|
||||
module.exports = factory(require("./common-util"), require("tweetnacl/nacl-fast"));
|
||||
} else if ((typeof(define) !== 'undefined' && define !== null) && (define.amd !== null)) {
|
||||
define([
|
||||
'/common/common-util.js',
|
||||
|
||||
Reference in new issue
Block a user