parse-torrent
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -17,3 +17,3 @@ var bncode = require('bncode') | ||
result.infoHash = (new Rusha()).digestFromBuffer(bncode.encode(torrent.info)) | ||
result.infoHash = sha1(bncode.encode(torrent.info)) | ||
@@ -65,1 +65,5 @@ result.name = torrent.info.name.toString() | ||
} | ||
function sha1 (buf) { | ||
return (new Rusha()).digestFromBuffer(buf) | ||
} |
{ | ||
"name": "parse-torrent", | ||
"description": "Parse a torrent and return an object of keys/values", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
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
235323
6385