{
  "_args": [
    [
      {
        "raw": "hash-base@^3.0.0",
        "scope": null,
        "escapedName": "hash-base",
        "name": "hash-base",
        "rawSpec": "^3.0.0",
        "spec": ">=3.0.0 <4.0.0",
        "type": "range"
      },
      "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\md5.js"
    ]
  ],
  "_from": "hash-base@>=3.0.0 <4.0.0",
  "_id": "hash-base@3.0.4",
  "_inCache": true,
  "_location": "/hash-base",
  "_nodeVersion": "7.10.0",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/hash-base-3.0.4.tgz_1495616777218_0.30660409457050264"
  },
  "_npmUser": {
    "name": "dcousens",
    "email": "email@dcousens.com"
  },
  "_npmVersion": "4.6.1",
  "_phantomChildren": {},
  "_requested": {
    "raw": "hash-base@^3.0.0",
    "scope": null,
    "escapedName": "hash-base",
    "name": "hash-base",
    "rawSpec": "^3.0.0",
    "spec": ">=3.0.0 <4.0.0",
    "type": "range"
  },
  "_requiredBy": [
    "/md5.js",
    "/ripemd160"
  ],
  "_resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz",
  "_shasum": "5fc8686847ecd73499403319a6b0a3f3f6ae4918",
  "_shrinkwrap": null,
  "_spec": "hash-base@^3.0.0",
  "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\md5.js",
  "author": {
    "name": "Kirill Fomichev",
    "email": "fanatid@ya.ru",
    "url": "https://github.com/fanatid"
  },
  "bugs": {
    "url": "https://github.com/crypto-browserify/hash-base/issues"
  },
  "dependencies": {
    "inherits": "^2.0.1",
    "safe-buffer": "^5.0.1"
  },
  "description": "abstract base class for hash-streams",
  "devDependencies": {
    "nyc": "^8.3.2",
    "standard": "*",
    "tape": "^4.2.0"
  },
  "directories": {},
  "dist": {
    "shasum": "5fc8686847ecd73499403319a6b0a3f3f6ae4918",
    "tarball": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz"
  },
  "engines": {
    "node": ">=4"
  },
  "files": [
    "index.js"
  ],
  "gitHead": "d36440ed0448a654734ae05464d55d34b189a17a",
  "homepage": "https://github.com/crypto-browserify/hash-base",
  "keywords": [
    "hash",
    "stream"
  ],
  "license": "MIT",
  "main": "index.js",
  "maintainers": [
    {
      "name": "cwmma",
      "email": "calvin.metcalf@gmail.com"
    },
    {
      "name": "dcousens",
      "email": "email@dcousens.com"
    },
    {
      "name": "fanatid",
      "email": "fanatid@ya.ru"
    }
  ],
  "name": "hash-base",
  "optionalDependencies": {},
  "readme": "# hash-base\n\n[![NPM Package](https://img.shields.io/npm/v/hash-base.svg?style=flat-square)](https://www.npmjs.org/package/hash-base)\n[![Build Status](https://img.shields.io/travis/crypto-browserify/hash-base.svg?branch=master&style=flat-square)](https://travis-ci.org/crypto-browserify/hash-base)\n[![Dependency status](https://img.shields.io/david/crypto-browserify/hash-base.svg?style=flat-square)](https://david-dm.org/crypto-browserify/hash-base#info=dependencies)\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\nAbstract base class to inherit from if you want to create streams implementing the same API as node crypto [Hash][1] (for [Cipher][2] / [Decipher][3] check [crypto-browserify/cipher-base][4]).\n\n## Example\n\n```js\nconst HashBase = require('hash-base')\nconst inherits = require('inherits')\n\n// our hash function is XOR sum of all bytes\nfunction MyHash () {\n  HashBase.call(this, 1) // in bytes\n\n  this._sum = 0x00\n}\n\ninherits(MyHash, HashBase)\n\nMyHash.prototype._update = function () {\n  for (let i = 0; i < this._block.length; ++i) this._sum ^= this._block[i]\n}\n\nMyHash.prototype._digest = function () {\n  return this._sum\n}\n\nconst data = Buffer.from([ 0x00, 0x42, 0x01 ])\nconst hash = new MyHash().update(data).digest()\nconsole.log(hash) // => 67\n```\nYou also can check [source code](index.js) or [crypto-browserify/md5.js][5]\n\n## LICENSE\n\nMIT\n\n[1]: https://nodejs.org/api/crypto.html#crypto_class_hash\n[2]: https://nodejs.org/api/crypto.html#crypto_class_cipher\n[3]: https://nodejs.org/api/crypto.html#crypto_class_decipher\n[4]: https://github.com/crypto-browserify/cipher-base\n[5]: https://github.com/crypto-browserify/md5.js\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/crypto-browserify/hash-base.git"
  },
  "scripts": {
    "coverage": "nyc node test/*.js",
    "lint": "standard",
    "test": "npm run lint && npm run unit",
    "unit": "node test/*.js"
  },
  "version": "3.0.4"
}
