secret-handshake
Advanced tools
Comparing version 1.0.0 to 1.1.1
@@ -34,2 +34,6 @@ var handshake = require('./handshake') | ||
exports.toKeys = function (keys) { | ||
if(isBuffer(keys, 32)) | ||
return cl.crypto_sign_seed_keypair(keys) | ||
return keys | ||
} |
{ | ||
"name": "secret-handshake", | ||
"description": "a simple and highly private secure-channel protocol", | ||
"version": "1.0.0", | ||
"version": "1.1.1", | ||
"homepage": "https://github.com/dominictarr/secret-handshake", | ||
@@ -14,15 +14,9 @@ "repository": { | ||
"pull-box-stream": "^1.0.9", | ||
"pull-cat": "~1.1.5", | ||
"pull-defer": "^0.2.2", | ||
"pull-handshake": "^1.1.1", | ||
"pull-pair": "^1.1.0", | ||
"pull-pushable": "^2.0.0", | ||
"pull-reader": "^1.2.2", | ||
"pull-stream": "^3.2.0", | ||
"stream-to-pull-stream": "^1.6.2" | ||
"pull-stream": "^3.4.5" | ||
}, | ||
"devDependencies": { | ||
"pull-defer": "^0.2.2", | ||
"pull-bitflipper": "~0.1.0", | ||
"pull-hang": "0.0.0", | ||
"pull-randomly-split": "~1.0.4", | ||
"stream-to-pull-stream": "~1.6.1", | ||
@@ -29,0 +23,0 @@ "tape": "~4.0.0" |
@@ -278,1 +278,9 @@ | ||
tape('toKeys', function (t) { | ||
t.deepEqual(shs.toKeys(hash('alice')), alice) | ||
t.deepEqual(shs.toKeys(alice), alice) | ||
t.end() | ||
}) | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31052
5
804
- Removedpull-cat@~1.1.5
- Removedpull-defer@^0.2.2
- Removedpull-pair@^1.1.0
- Removedpull-pushable@^2.0.0
- Removedpull-reader@^1.2.2
- Removedstream-to-pull-stream@^1.6.2
- Removedpull-defer@0.2.3(transitive)
- Removedstream-to-pull-stream@1.7.3(transitive)
Updatedpull-stream@^3.4.5