Commit 939bf425ebdf6f777027ca93e681e14345d57754
deps: use chloride instead of sodium
Dominic Tarr committed on 7/31/2015, 7:32:43 PMParent: 00be2d64bcd1f0e4fb20474d21d2d3cd8690611b
Files changed
index.js | changed |
package.json | changed |
sodium.js | changed |
index.js | ||
---|---|---|
@@ -6,9 +6,9 @@ | ||
6 | 6 | var crypto = require('crypto') |
7 | 7 | var createHmac = require('hmac') |
8 | 8 | |
9 | 9 | var ecc = require('./eccjs') |
10 | -var sodium = require('sodium').api | |
10 | +var sodium = require('chloride').api | |
11 | 11 | var ssbref = require('ssb-ref') |
12 | 12 | |
13 | 13 | var pb = require('private-box') |
14 | 14 |
package.json | ||
---|---|---|
@@ -8,14 +8,14 @@ | ||
8 | 8 | "url": "git://github.com/ssbc/ssb-crypto.git" |
9 | 9 | }, |
10 | 10 | "dependencies": { |
11 | 11 | "blake2s": "~1.0.0", |
12 | + "chloride": "^1.0.20-1", | |
12 | 13 | "deep-equal": "~0.2.1", |
13 | 14 | "eccjs": "git://github.com/dominictarr/eccjs.git#586f6d47507184a2efe84684ed0a30605cbc43a5", |
14 | 15 | "hmac": "~1.0.1", |
15 | 16 | "mkdirp": "~0.5.0", |
16 | - "private-box": "0.0.0", | |
17 | - "sodium": "git://github.com/dominictarr/node-sodium.git#0fade334a8c67b6267a5e66f944199b74927713a", | |
17 | + "private-box": "0.0.2", | |
18 | 18 | "ssb-ref": "^2.0.0" |
19 | 19 | }, |
20 | 20 | "devDependencies": { |
21 | 21 | "tape": "^3.0.3" |
Built with git-ssb-web