{"_id":"@amirabbas/hash-util","_rev":"5-96513af5d3e0fc7294978b132c05e7cf","name":"@amirabbas/hash-util","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@amirabbas/hash-util","version":"1.0.0","description":"hash util based on nodejs built-in module 'crypto'","main":"src/index.ts","repository":{"type":"git","url":"https://github.com/AmirabbasJ/crypto-util.git"},"author":{"name":"Amirabbas"},"license":"MIT","private":false,"dependencies":{},"devDependencies":{"@commitlint/config-conventional":"9.1.1","@types/node":"14.0.27","@typescript-eslint/eslint-plugin":"3.7.1","@typescript-eslint/parser":"3.7.1","commitlint":"9.1.0","eslint":"7.7.0","eslint-config-prettier":"6.11.0","eslint-plugin-prettier":"3.1.4","husky":"4.2.5","lint-staged":"10.2.11","nodemon":"2.0.4","prettier":"2.0.5","ts-node":"9.0.0","typescript":"4.0.2"},"scripts":{"start":"nodemon bin/www.ts","format":"prettier --write \"./**/*.{ts,js,json}\"","lint:fix":"eslint \"./**/*.{ts,js,json}\" --quiet --fix"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.{ts,js,json}":["yarn lint:fix","yarn format"]},"_id":"@amirabbas/hash-util@1.0.0","dist":{"shasum":"5ea2bc57c2c73ca8ded63df82cf6380fdd41f238","integrity":"sha512-gzgNPKUTafWMiNV7rbmqd+VCjqrFkjpn8XaiqWT5nC3ynNWxkKEsLAj+W6M6nwPpC6Ycd2eNp2ars+wPV1nrig==","tarball":"https://registry.npmjs.org/@amirabbas/hash-util/-/hash-util-1.0.0.tgz","fileCount":15,"unpackedSize":3861,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRQ9wCRA9TVsSAnZWagAAELAQAJXCz55uzCGv3Cm3fxV7\nBJSz1KlVoUqtSrta3Ihzh/wsPGq34oeedRWJ/OMMbjxAmmuRvBW9Z7MkKQYM\nC5icaKaw913tEH+7/W23+cBr5QcFNxnW7pgVvw24Vhm4Gi/I4rqZ4rmtmlta\nzTGTJ2775bpzWm0lIn8iR4pxAhweoBJrK29wxyPAPlohKOcF5AJ8W8apoXju\neBCKjFjsXF0IIyyVrkoujoaKkIgDJ24fDrKkG6vqi7K4Q4ZzOa7e8HvSbfAP\n3PxFn5sH9bxsXOe9wJcyz+qdWzUkNdl2fjdSjaIfodbPOkEr4xtKeLnNYJIN\nRKdBPMk0QkrbjeZk5X3pmHDxwYKNwJp/SfWE6swSuDSVPIYKcwCu7IVh5jO/\nTzHGPnXHXKjz2gU4rXfGZzIMZRYy9AgvPrhvS1ZwwYi/5IP9fYgx9fLzC5lx\nZxwNhxnmjSFbwMpiY2Fd9Q+FGc78YNg8fFxW9SQZCcp5eSq+u57RZc/Ui9Az\nrByYRc+VgSvsx1Fi2qGgRsPdvibfQZKvHatd+04G1FWBLbsyDUI1SjRhE0If\nPe5GNkRJ/V+p8lxjpXTjsI+Xv7GVHPsq0tM+wP5U952zY4podgTP+W4n3ki9\npzGLa/EaB04iFq7T3wvcw87SUBpiC2I1qwK8l1W/R/bYm1BWWbdz9P+SIIjw\n+4B7\r\n=xzE9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC18r/DTNT5U/L2O3Z4h/R9y/4NTbx73PiSkoz/gH15XwIhALqiYAtpBXhITUUHztqJWnuEpAjgNs4gUJFN6mkzPvZO"}]},"maintainers":[{"name":"amirabbas_j","email":"amirabbasgamer2@gmail.com"}],"_npmUser":{"name":"amirabbas_j","email":"amirabbasgamer2@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-util_1.0.0_1598361456254_0.43487244413123216"},"_hasShrinkwrap":false},"1.0.1":{"name":"@amirabbas/hash-util","version":"1.0.1","description":"hashing util based on nodejs built-in module 'crypto'","main":"src/index.ts","homepage":"https://github.com/AmirabbasJ/hash-util#readme","repository":{"type":"git","url":"https://github.com/AmirabbasJ/hash-util.git"},"author":{"name":"Amirabbas"},"license":"MIT","private":false,"dependencies":{"crypto":"false1.0.1"},"devDependencies":{"@commitlint/config-conventional":"9.1.1","@types/node":"14.0.27","@typescript-eslint/eslint-plugin":"3.7.1","@typescript-eslint/parser":"3.7.1","commitlint":"9.1.0","eslint":"7.7.0","eslint-config-prettier":"6.11.0","eslint-plugin-prettier":"3.1.4","husky":"4.2.5","lint-staged":"10.2.11","nodemon":"2.0.4","prettier":"2.0.5","ts-node":"9.0.0","typescript":"4.0.2"},"publishConfig":{"access":"public"},"scripts":{"start":"nodemon bin/www.ts","format":"prettier --write \"./**/*.{ts,js,json}\"","lint:fix":"eslint \"./**/*.{ts,js,json}\" --quiet --fix"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.{ts,js,json}":["yarn lint:fix","yarn format"]},"licenseText":"MIT License\n\nCopyright (c) 2020 AmirabbasJ\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@amirabbas/hash-util@1.0.1","dist":{"shasum":"4c9503a718610f6e0621235fa23dc150b034291a","integrity":"sha512-/AcXnl5V2v5SnWqovA8X+6/qlmaOJm4c7P/ysQr4+fMsXuSVWd6O/Wo1QjtCw85yBdefhWsALskBvavFdpN9tw==","tarball":"https://registry.npmjs.org/@amirabbas/hash-util/-/hash-util-1.0.1.tgz","fileCount":17,"unpackedSize":6655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRWL1CRA9TVsSAnZWagAAcD0P/0/x9CPQVtDlytYbHYPN\nhP5ICk0PQnqjZh99dwOhamHPS6FpcjSial+GfNDLugv3or9b1PHSGWfZPlLP\nkiBet+Z6EZrkqgiXAQcOEtghyp0bAyy9J5oCPbiqMasvv/S1mfpzSWRLhdCW\n9Q7Y7Cm6jyBthk40wzeCgD1c87Mz2n8ocoiKGSf/chZvwVOVbpi34uhzslnz\nrTcGI/iLGfPWNK+KV7iwz08CTbCZbIaOGN6KD7kZgtCtAvs0y5+vDQG/3PrQ\ngwglOGppYY9cGNwjxJl7fgSyNmRj9na9CJztDj7hjAcuOSM1h+SZhbO/WhlS\nCuzOXLsd+jjwPrFfPkxM0UGl8MAO8rK7uS37BDFI01XubwXw9pAtCXfKGLE6\nOqFw2aq2mWA2/qK6d21glHQH967Qz82sYe+Ush5thXgG1DFWcSQuChXExRrZ\n6wTEkl39tgIqENWU65waBNZCBu5/lwrAhb5ouENz2lkqR9vVF57BVJ44FqEm\noCcNA35jvleDYjN+V12X5RQAoYi0VAK1b7rg9OJpDb/AumY8CdajDVECAr6M\njcF5lz9LX0Auxl5UbxBKUkpBhzEUocMvgdBXG+65T0K4EdDuidJhS9oFTmf9\nzObexCHAEpBJs1GtkumlkoBSYP1Ab2pXS2bnQXYsz/wSRiy0GapWWeMMFYUG\nVQZM\r\n=CYgi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDEP5uMOGqeQXy2uVTl1GaOuINlQlOW7QylI3twsC/QoAiEAtc4iKWzLndJa3pWqG2fxCx3/pz5LF72+BkTJDpMws1Q="}]},"maintainers":[{"name":"amirabbas_j","email":"amirabbasgamer2@gmail.com"}],"_npmUser":{"name":"amirabbas_j","email":"amirabbasgamer2@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-util_1.0.1_1598382837275_0.5499007378007938"},"_hasShrinkwrap":false},"1.0.2":{"name":"@amirabbas/hash-util","version":"1.0.2","description":"hashing util based on nodejs built-in module 'crypto'","main":"src/index.ts","homepage":"https://github.com/AmirabbasJ/hash-util#readme","repository":{"type":"git","url":"https://github.com/AmirabbasJ/hash-util.git"},"author":{"name":"Amirabbas"},"license":"MIT","private":false,"dependencies":{"crypto":"false1.0.1"},"devDependencies":{"@commitlint/config-conventional":"9.1.1","@types/node":"14.0.27","@typescript-eslint/eslint-plugin":"3.7.1","@typescript-eslint/parser":"3.7.1","commitlint":"9.1.0","eslint":"7.7.0","eslint-config-prettier":"6.11.0","eslint-plugin-prettier":"3.1.4","husky":"4.2.5","lint-staged":"10.2.11","nodemon":"2.0.4","prettier":"2.0.5","ts-node":"9.0.0","typescript":"4.0.2"},"publishConfig":{"access":"public"},"scripts":{"start":"nodemon bin/www.ts","format":"prettier --write \"./**/*.{ts,js,json}\"","lint:fix":"eslint \"./**/*.{ts,js,json}\" --quiet --fix"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.{ts,js,json}":["yarn lint:fix","yarn format"]},"licenseText":"MIT License\n\nCopyright (c) 2020 AmirabbasJ\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@amirabbas/hash-util@1.0.2","dist":{"shasum":"725ab238fa888d014fe01d90fdc31b02c071c2b3","integrity":"sha512-obhq//VPBm/7Hpaz9/id3kFD21Rc5paVVIrai7e44lUuNdk57yqHSmC94AK1bBM1V5kfdL3bP12V4r8rqnjobA==","tarball":"https://registry.npmjs.org/@amirabbas/hash-util/-/hash-util-1.0.2.tgz","fileCount":10,"unpackedSize":5291,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRWUbCRA9TVsSAnZWagAAtbwQAI3FbrukuKXOxC+ZhbLB\nGTqUZGY3Xpa/RME1l/Ms5DVVB3hJif5m3FvoB6c7DEB9fk8OiyVy9pswKobc\nepm+JpwNsJTebhWHAucEuJjUY8NN0x5rfd9Y40rnZB9MlYPN1nqjb2Z6IOyg\nDRLb/Xz+Y/MjnicatnkC21kFIB7MVeyFVwZJaQv3t6fTfP0XCzzdaiETA/j5\na8HKnHoL6Qy7faITTYP/UINrs1MbYFZblU/yOKKKlHTu1KTbwjiujM65Zuaa\naykqrFJx0K/e1/vnyft45tlcQoRQKDbeEzsnZ8CwCZGV+li2Eod4tF/BAsM7\nU7eYKUbMqlWWxaTdLeuIuZuuxNLbUO03yTNBiStFosR/pXKXKD/5DUcv9eCp\nOZyDzywK2/iVAITaxZkzt1PNrtD7N/lfmCXNGKEzWLzWnTLxUS6X7wtI1aHU\nI8OPB1DzTZphz7VxcGxzmQYJSOg8Fx7ygNCl/jy1qO0gU2Fsio+BpZmehxHO\nBz+6IzLhFpzqsHofEi3h6zBDGyjVTQEbAHnvKRSyPZfULv6+jdnET3Vx6whG\nDHbFdsWMc+0xZv46ETUoMNn51z4SAmRpKmUQrGzbXAGmSZS24QKKx828eUvP\nrirALVajKPYtpY65dgvkXUUJgun1DhzJL2dFqNbPwNev6dH/MSukeeTGTCk7\njDWz\r\n=BSOj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC196eeR7i2wTtLyLd6WszwM/anhDANkIK40udfPZKRUQIgT6lyKiT8dcjl7hU/wxrZ1Xhs9+46liyriqK1uZiuj/w="}]},"maintainers":[{"name":"amirabbas_j","email":"amirabbasgamer2@gmail.com"}],"_npmUser":{"name":"amirabbas_j","email":"amirabbasgamer2@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-util_1.0.2_1598383387018_0.5708653317220533"},"_hasShrinkwrap":false},"1.0.3":{"name":"@amirabbas/hash-util","version":"1.0.3","description":"hashing util based on nodejs built-in module 'crypto'","main":"src/index.ts","homepage":"https://github.com/AmirabbasJ/hash-util#readme","repository":{"type":"git","url":"https://github.com/AmirabbasJ/hash-util.git"},"author":{"name":"Amirabbas"},"license":"MIT","private":false,"dependencies":{"crypto":"false1.0.1"},"devDependencies":{"@commitlint/config-conventional":"9.1.1","@types/node":"14.0.27","@typescript-eslint/eslint-plugin":"3.7.1","@typescript-eslint/parser":"3.7.1","commitlint":"9.1.0","eslint":"7.7.0","eslint-config-prettier":"6.11.0","eslint-plugin-prettier":"3.1.4","husky":"4.2.5","lint-staged":"10.2.11","nodemon":"2.0.4","prettier":"2.0.5","ts-node":"9.0.0","typescript":"4.0.2"},"publishConfig":{"access":"public"},"scripts":{"start":"nodemon bin/www.ts","format":"prettier --write \"./**/*.{ts,js,json}\"","lint:fix":"eslint \"./**/*.{ts,js,json}\" --quiet --fix"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.{ts,js,json}":["yarn lint:fix","yarn format"]},"licenseText":"MIT License\n\nCopyright (c) 2020 AmirabbasJ\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@amirabbas/hash-util@1.0.3","dist":{"shasum":"db98737c2f704e17e55b0b2c2e674e0e56be5ce6","integrity":"sha512-SJxeJKSS7RuyeujazyGvaQOJ18dJds+py9dnG3GHLY3DKddFw2ZHU6kJyoibGpTo/6GbLMnnWXemH6PtJMmDrQ==","tarball":"https://registry.npmjs.org/@amirabbas/hash-util/-/hash-util-1.0.3.tgz","fileCount":12,"unpackedSize":5600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRhm9CRA9TVsSAnZWagAANvAP/iqZH4Wu5UjKYoARGpFB\n7SmdngsUBWXxJ2V/z4QO9ouyY27SzTyH/Srbr+0LbJ6LQxf+k/2BFi8I/geO\nuYJMGCwCinRSAoBxTA//DI1pmy1BqTQt8MvDrV82x1351LPLYjttgSg7Ia1T\n6sNZ5qm5UwMMtGrkM0xIFQYqg6n482hnWhaPzXrQS6oiNofqbFaSmJO9LtIt\npFrs3V3W1XBqjDHgHsybeix8Q2AQsi1LfyP6c2+s81vI2sf+FwPCbOMY1XJE\nvEDak+qvC7UhRKAyPC4/DtfayEHluwEWRqKWrLqt+NqNbeiOMMLe1ASHNLIR\nNbcam0UNyZbMHsTgl69D8B53DC424WMkGDn7ZfDnFU8RZEDjM/28/w2U7D24\nxV219v3VV9S3qWEbOhrY4AWGBYa59XDyLIDoBBuFJdYiXC7jTmjuMpHaSJwr\n84iMOybwO5BLQbkXdrMK5ZWWWp62oMb2oxSGiZmGQlxR/MGTKDIpXY9KoI+Z\n6JJVld6R1t1C3LtbC3yJaVJBprxSPTqo4ybRZkHqIOP78MJ+DGaP64IJ5HPW\neCKqMjsKIgIv6qcZ7aH2mIFJpArjP6ZbdetkZBOk3eu8wXvGl6K9q2mJ8xaO\nYeD5RD8Stf+EtX/U55FHgJL/enKUuTfYth8OCoCRQc7ToS4FSeTJBhsbH1Uj\nAy5U\r\n=vHur\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjDgzJ/8D0L5W+3zDbJm5YpQ+K5VPkmEKIPUT1WbJFJQIhAJO8IhuwQ1d9m2B9Cf9+WHxTtklA0YfEHIo7+je5Z+lY"}]},"maintainers":[{"name":"amirabbas_j","email":"amirabbasgamer2@gmail.com"}],"_npmUser":{"name":"amirabbas_j","email":"amirabbasgamer2@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-util_1.0.3_1598429628706_0.5906668402403257"},"_hasShrinkwrap":false},"1.0.4":{"name":"@amirabbas/hash-util","version":"1.0.4","description":"hashing util based on nodejs built-in module 'crypto'","main":"lib/index.js","types":"lib/index.d.ts","homepage":"https://github.com/AmirabbasJ/hash-util#readme","repository":{"type":"git","url":"https://github.com/AmirabbasJ/hash-util.git"},"author":{"name":"Amirabbas"},"license":"MIT","private":false,"dependencies":{"crypto":"false1.0.1"},"devDependencies":{"@commitlint/config-conventional":"9.1.1","@types/node":"14.0.27","@typescript-eslint/eslint-plugin":"3.7.1","@typescript-eslint/parser":"3.7.1","commitlint":"9.1.0","eslint":"7.7.0","eslint-config-prettier":"6.11.0","eslint-plugin-prettier":"3.1.4","husky":"4.2.5","lint-staged":"10.2.11","nodemon":"2.0.4","prettier":"2.0.5","ts-node":"9.0.0","typescript":"4.0.2"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc","start":"nodemon bin/www.ts","format":"prettier --write \"./**/*.{ts,js,json}\"","lint:fix":"eslint \"./**/*.{ts,js,json}\" --quiet --fix"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.{ts,js,json}":["yarn lint:fix","yarn format"]},"licenseText":"MIT License\n\nCopyright (c) 2020 AmirabbasJ\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@amirabbas/hash-util@1.0.4","dist":{"shasum":"62119ce7edab9169e81b725a2dfb6d0e3f90c149","integrity":"sha512-S+8BTA1OkbQ+XQg2su1F4vPjH6uL64f08oTKAAG3rIV5eKh2VzPdqdwO9A5etedY9bPmK2TA9eKvrFYSgTY+kg==","tarball":"https://registry.npmjs.org/@amirabbas/hash-util/-/hash-util-1.0.4.tgz","fileCount":14,"unpackedSize":6085,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRhyGCRA9TVsSAnZWagAAhEMP/1nPeSWXjD446Nlagkzl\nqkFc0oAH2IC8FUbW6AAWUTJQStn7sgxu62a7/48C/ysKm3e1+KYUKxSqCMef\nJSgjuWCgJ42jjvP9BBSINweZznLaLTWIQwxp//KvBTRkUxcuZ+uEhXmothio\n0WHw4XArGKiDMZab605LAfkXJMqydyinWRempRPPJ1L6v5eHbUxtOEnPx0jm\ntz0uFsDHukza6SEpxos8FJpWXT3W0KAp0+ZUPA7nWxFWCLKHKTImbng8Qv4K\nxGWA5Z747JNd6NtYm/XjyCJUqTpmIWFqGimR7h9s558Xog8/XEV6NR95YU5O\nGqctyU5K1t5z2p2hinkWAyeJQwr0AY7UzbS9UYZOlNmz9GZ1uXGoN2ZVV1PB\nuOTueTCYtw5IXTEWGj82bagtWMXE8cnDUunH84n5Pb9LAjGk+z8rGhzKrU+s\nEX/saE4xEXeWFWQIuv6wGfDfmVafWxxTMNhDIgGM1VDYNhygy42ToXfCuLeA\nwhgYFbz0IxPYToeH7tZVmxxJEQvoyrrecNEMQliDtHYPCW/5BNIF/Hxclbif\nHJonwv1OTaUAsUodhrxarws2mI0fXrmg3IfQLowZWWV5Mv+GLUyMBCzcYKUb\ns+aIGuSiE8kCy3prfxvI+3cjLrFjRTWUkmXqe1QFsTsDBJ/a7+SiVlcudlBE\nG0+u\r\n=7qbc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGwBpyjPqNAW/ZkGQbWdPh1vD6/hLbx8+5w8uSw8zOlHAiBTV0lL6+N8ji+tP+rz0fuK/SHANaBFoJdXGdjiSDSxig=="}]},"maintainers":[{"name":"amirabbas_j","email":"amirabbasgamer2@gmail.com"}],"_npmUser":{"name":"amirabbas_j","email":"amirabbasgamer2@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hash-util_1.0.4_1598430342111_0.39763366845130843"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-25T13:17:35.991Z","1.0.0":"2020-08-25T13:17:36.368Z","modified":"2022-04-04T13:49:31.130Z","1.0.1":"2020-08-25T19:13:57.407Z","1.0.2":"2020-08-25T19:23:07.284Z","1.0.3":"2020-08-26T08:13:48.877Z","1.0.4":"2020-08-26T08:25:42.232Z"},"maintainers":[{"name":"amirabbas_j","email":"amirabbasgamer2@gmail.com"}],"description":"hashing util based on nodejs built-in module 'crypto'","repository":{"type":"git","url":"https://github.com/AmirabbasJ/hash-util.git"},"author":{"name":"Amirabbas"},"license":"MIT","readme":"# hash-util\n  hashing util based on nodejs built-in module 'crypto'\n\n# Installation\n  you can install this module whether via npm:\n  ```\n  npm i @amirabbas/hash-util\n  ```\n  or yarn:\n  ```\n  yarn add @amirabbas/hash-util\n  ```\n\n# Documentation\n  #### .hash\n  returns a string containing the hash and the salt\n  \n  * `password` **{crypto.BinaryLike}**: the password, secret or anything (`BinaryLike` which `string` are included in it) to hash\n  * `keylen` **{number}**: **optional** hash length (default is 64)\n  * `salt`**{crypto.BinaryLike}**: **optional** salt used when hashing (it's safer not to pass it)\n  \n  #### .compare\n  returns a boolean which is true if the passed hash and the password match\n  \n  * `hashString` **{string}**: hashString to compare (which should contain the salt separated with a dot (`\"{salt}.{hash}\"`))\n  * `password` **{crypto.BinaryLike}**:  password to be check if it matches the given hash\n  * `keylen`**{number}**: **optional** hash length (default is 64)\n\n# Usage\n  ### basic usage\n  \n  ```javascript\n  import {hash, compare} from '@amirabbas/hash-util'; //there is also a default exportation to avoid name conflicts\n  \n  const secret = \"mySuperSecurePassword\"; //your password to hash\n\n  (async ()=>{\n    const hashedPwd = await hash(secret)\n    console.log(hashedPwd) //\"{salt}.{hash}\"\n    \n    const samePwd = await compare(hashedPwd, secret) \n    console.log(samePwd) //true\n  })()\n  \n  ```\n","readmeFilename":"README.md","homepage":"https://github.com/AmirabbasJ/hash-util#readme"}