UNPKG

layaair2-cmd

Version:

layaair version 2 toolkit

111 lines (110 loc) 4.75 kB
{ "_args": [ [ { "raw": "sha.js@^2.4.0", "scope": null, "escapedName": "sha.js", "name": "sha.js", "rawSpec": "^2.4.0", "spec": ">=2.4.0 <3.0.0", "type": "range" }, "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\create-hash" ] ], "_from": "sha.js@^2.4.0", "_hasShrinkwrap": false, "_id": "sha.js@2.4.11", "_location": "/sha.js", "_nodeVersion": "9.8.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/sha.js_2.4.11_1521506126147_0.8013128166429841" }, "_npmUser": { "name": "dcousens", "email": "npm@dcousens.com" }, "_npmVersion": "5.7.1", "_phantomChildren": {}, "_requested": { "raw": "sha.js@^2.4.0", "scope": null, "escapedName": "sha.js", "name": "sha.js", "rawSpec": "^2.4.0", "spec": ">=2.4.0 <3.0.0", "type": "range" }, "_requiredBy": [ "/create-hash", "/create-hmac", "/pbkdf2", "/shasum" ], "_resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", "_shasum": "37a5cf0b81ecbc6943de109ba2960d1b26584ae7", "_shrinkwrap": null, "_spec": "sha.js@^2.4.0", "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\create-hash", "author": { "name": "Dominic Tarr", "email": "dominic.tarr@gmail.com", "url": "dominictarr.com" }, "bin": { "sha.js": "./bin.js" }, "bugs": { "url": "https://github.com/crypto-browserify/sha.js/issues" }, "dependencies": { "inherits": "^2.0.1", "safe-buffer": "^5.0.1" }, "description": "Streamable SHA hashes in pure javascript", "devDependencies": { "buffer": "~2.3.2", "hash-test-vectors": "^1.3.1", "standard": "^10.0.2", "tape": "~2.3.2", "typedarray": "0.0.6" }, "directories": {}, "dist": { "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", "shasum": "37a5cf0b81ecbc6943de109ba2960d1b26584ae7", "tarball": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", "fileCount": 16, "unpackedSize": 31084 }, "gitHead": "105bfe57c69e13c83fcf7a6ca660dd984cb291bf", "homepage": "https://github.com/crypto-browserify/sha.js", "license": "(MIT AND BSD-3-Clause)", "maintainers": [ { "name": "dcousens", "email": "email@dcousens.com" }, { "name": "dominictarr", "email": "dominic.tarr@gmail.com" } ], "name": "sha.js", "optionalDependencies": {}, "readme": "# sha.js\n[![NPM Package](https://img.shields.io/npm/v/sha.js.svg?style=flat-square)](https://www.npmjs.org/package/sha.js)\n[![Build Status](https://img.shields.io/travis/crypto-browserify/sha.js.svg?branch=master&style=flat-square)](https://travis-ci.org/crypto-browserify/sha.js)\n[![Dependency status](https://img.shields.io/david/crypto-browserify/sha.js.svg?style=flat-square)](https://david-dm.org/crypto-browserify/sha.js#info=dependencies)\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\nNode style `SHA` on pure JavaScript.\n\n```js\nvar shajs = require('sha.js')\n\nconsole.log(shajs('sha256').update('42').digest('hex'))\n// => 73475cb40a568e8da8a045ced110137e159f890ac4da883b6b17dc651b3a8049\nconsole.log(new shajs.sha256().update('42').digest('hex'))\n// => 73475cb40a568e8da8a045ced110137e159f890ac4da883b6b17dc651b3a8049\n\nvar sha256stream = shajs('sha256')\nsha256stream.end('42')\nconsole.log(sha256stream.read().toString('hex'))\n// => 73475cb40a568e8da8a045ced110137e159f890ac4da883b6b17dc651b3a8049\n```\n\n## supported hashes\n`sha.js` currently implements:\n\n - SHA (SHA-0) -- **legacy, do not use in new systems**\n - SHA-1 -- **legacy, do not use in new systems**\n - SHA-224\n - SHA-256\n - SHA-384\n - SHA-512\n\n\n## Not an actual stream\nNote, this doesn't actually implement a stream, but wrapping this in a stream is trivial.\nIt does update incrementally, so you can hash things larger than RAM, as it uses a constant amount of memory (except when using base64 or utf8 encoding, see code comments).\n\n\n## Acknowledgements\nThis work is derived from Paul Johnston's [A JavaScript implementation of the Secure Hash Algorithm](http://pajhome.org.uk/crypt/md5/sha1.html).\n\n\n## LICENSE [MIT](LICENSE)\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/crypto-browserify/sha.js.git" }, "scripts": { "lint": "standard", "prepublish": "npm ls && npm run unit", "test": "npm run lint && npm run unit", "unit": "set -e; for t in test/*.js; do node $t; done;" }, "version": "2.4.11" }