{ "_args": [ [ { "raw": "buffer-equal-constant-time@1.0.1", "scope": null, "escapedName": "buffer-equal-constant-time", "name": "buffer-equal-constant-time", "rawSpec": "1.0.1", "spec": "1.0.1", "type": "version" }, "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/jwa" ] ], "_from": "buffer-equal-constant-time@1.0.1", "_id": "buffer-equal-constant-time@1.0.1", "_inCache": true, "_location": "/buffer-equal-constant-time", "_npmUser": { "name": "goinstant", "email": "support@goinstant.com" }, "_npmVersion": "1.3.11", "_phantomChildren": {}, "_requested": { "raw": "buffer-equal-constant-time@1.0.1", "scope": null, "escapedName": "buffer-equal-constant-time", "name": "buffer-equal-constant-time", "rawSpec": "1.0.1", "spec": "1.0.1", "type": "version" }, "_requiredBy": [ "/jwa" ], "_resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "_shasum": "f8e71132f7ffe6e01a5c9697a4c6f3e48d5cc819", "_shrinkwrap": null, "_spec": "buffer-equal-constant-time@1.0.1", "_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/jwa", "author": { "name": "GoInstant Inc., a salesforce.com company" }, "bugs": { "url": "https://github.com/goinstant/buffer-equal-constant-time/issues" }, "dependencies": {}, "description": "Constant-time comparison of Buffers", "devDependencies": { "mocha": "~1.15.1" }, "directories": {}, "dist": { "shasum": "f8e71132f7ffe6e01a5c9697a4c6f3e48d5cc819", "tarball": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz" }, "homepage": "https://github.com/goinstant/buffer-equal-constant-time#readme", "keywords": [ "buffer", "equal", "constant-time", "crypto" ], "license": "BSD-3-Clause", "main": "index.js", "maintainers": [ { "name": "goinstant", "email": "support@goinstant.com" } ], "name": "buffer-equal-constant-time", "optionalDependencies": {}, "readme": "# buffer-equal-constant-time\n\nConstant-time `Buffer` comparison for node.js. Should work with browserify too.\n\n[![Build Status](https://travis-ci.org/goinstant/buffer-equal-constant-time.png?branch=master)](https://travis-ci.org/goinstant/buffer-equal-constant-time)\n\n```sh\n npm install buffer-equal-constant-time\n```\n\n# Usage\n\n```js\n var bufferEq = require('buffer-equal-constant-time');\n\n var a = new Buffer('asdf');\n var b = new Buffer('asdf');\n if (bufferEq(a,b)) {\n // the same!\n } else {\n // different in at least one byte!\n }\n```\n\nIf you'd like to install an `.equal()` method onto the node.js `Buffer` and\n`SlowBuffer` prototypes:\n\n```js\n require('buffer-equal-constant-time').install();\n\n var a = new Buffer('asdf');\n var b = new Buffer('asdf');\n if (a.equal(b)) {\n // the same!\n } else {\n // different in at least one byte!\n }\n```\n\nTo get rid of the installed `.equal()` method, call `.restore()`:\n\n```js\n require('buffer-equal-constant-time').restore();\n```\n\n# Legal\n\n© 2013 GoInstant Inc., a salesforce.com company\n\nLicensed under the BSD 3-clause license.\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+ssh://git@github.com/goinstant/buffer-equal-constant-time.git" }, "scripts": { "test": "mocha test.js" }, "version": "1.0.1" }