{"version":3,"file":"vendor.create-hash.a27e88decf8daef3.js","mappings":";;;;;;;;;;;;;;;;;;;AAAA,UAAU,mBAAO,CAAC,KAAQ;;AAE1B;AACA;AACA;;;;;;;;;ACJY;AACZ,eAAe,mBAAO,CAAC,KAAU;AACjC,UAAU,mBAAO,CAAC,KAAQ;AAC1B,gBAAgB,mBAAO,CAAC,KAAW;AACnC,UAAU,mBAAO,CAAC,KAAQ;AAC1B,WAAW,mBAAO,CAAC,KAAa;;AAEhC;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA","sources":["webpack://admin/./node_modules/create-hash/md5.js","webpack://admin/./node_modules/create-hash/browser.js"],"sourcesContent":["var MD5 = require('md5.js')\n\nmodule.exports = function (buffer) {\n return new MD5().update(buffer).digest()\n}\n","'use strict'\nvar inherits = require('inherits')\nvar MD5 = require('md5.js')\nvar RIPEMD160 = require('ripemd160')\nvar sha = require('sha.js')\nvar Base = require('cipher-base')\n\nfunction Hash (hash) {\n Base.call(this, 'digest')\n\n this._hash = hash\n}\n\ninherits(Hash, Base)\n\nHash.prototype._update = function (data) {\n this._hash.update(data)\n}\n\nHash.prototype._final = function () {\n return this._hash.digest()\n}\n\nmodule.exports = function createHash (alg) {\n alg = alg.toLowerCase()\n if (alg === 'md5') return new MD5()\n if (alg === 'rmd160' || alg === 'ripemd160') return new RIPEMD160()\n\n return new Hash(sha(alg))\n}\n"],"names":[],"sourceRoot":""}