{"_id":"data-to-sha512","_rev":"1-10d27ef94e4d817bfba8685828dfee2a","name":"data-to-sha512","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"data-to-sha512","version":"0.0.1","description":"Calculates a SHA-512 for given data","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git@github.com:dimitarnestorov/file-to-hash.git"},"homepage":"https://github.com/dimitarnestorov/file-to-hash/tree/master/packages/data-to-sha512","author":{"name":"Dimitar Nestorov","email":"opensource@dimitarnestorov.com"},"license":"MIT","engines":{"node":">=4.0.0"},"keywords":["sha512","data","string","buffer","checksum","hash","hex","base64","crypto"],"scripts":{"prepublishOnly":"yarn run build","build":"rimraf dist && tsc","watch":"rimraf dist && tsc -w"},"dependencies":{"data-to-hash":"^0.0.1"},"_id":"data-to-sha512@0.0.1","dist":{"shasum":"0d1e2503c2099c59665cf36f726f6ce61be25dca","integrity":"sha512-CxRGuFjf+8sQs5SVPnT51/iTAoxBi9cNd3KwMlajotk83TD5CzLqW9h0UXDjVj5d95wz1cG1kGC6sRVXcDvZ5w==","tarball":"https://registry.npmjs.org/data-to-sha512/-/data-to-sha512-0.0.1.tgz","fileCount":6,"unpackedSize":1699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJpyrCRA9TVsSAnZWagAAulMQAIRdctutEkX8IZZAVfCV\n68RclOUovFzVJfRiYXbp2BETT//549ugT1I7gCHk2MzXjscK+RXrOKKN9huM\nIEfJMBatnJCsiy9IOT2GD/e4YddPqOAlWOwEKeschCsqghTVHt75brjjbcKb\nd//AhGk/h0or2Y0tim5K4K71FpRklHVONVsIOGmUSJ8hymKLpGothEx/0rlg\nwPjBRgLhE+mI8b5Y9KAj4zzMVhxjn6nIrwxqS4ozv7hikpqF9/wG6qOt3Wge\nFdSZHpsjRU2YiBpTForjUNy0OheGK9xqow73yO3PW+/qxfixHescuKCD7aq0\nZAe+IYxmF/h7pQQfIXOyQ/g+MLHXj00lACc6sUra0/avxjRGbWBedavl0F/G\nZBHCT7QyQTEyXx7d79iXXcweU/Ff3wAv6pMFxcOiNz5iqNqnzw7po0EmCRz8\nlfKLXsNHUhUKR+l5kYDz5NohIa9KFxuQ29+TDkjNmhcRBxiMhqil3CsQk1/n\nVXvsVbOUX6YFLYDT35m+OToWmGdcLkBjLZCLLx/C91kuZbDSSGHf0uwmkbEh\ns6ADxA7vg2KXBkEf2iIpGDKT6CFU8OZaTOuRdlH+EbTbE4ViAeD0aYu1/T+m\nVI64kKX/0tUQtfYT0APDby3E1iWU7RkmgF1O96qMfBCsWDMJ408JuiSxRfcE\nGbE2\r\n=MSzi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYbGWtM4I5G1YgYemKUqKj/rAiNd2o0ukzBJfxNMPRewIhAJg4id58T5DNGmFbsUZG8f7XQn5buRitGlGrCmfLKxZy"}]},"maintainers":[{"name":"dimitarnestorov","email":"opensource@dimitarnestorov.com"}],"_npmUser":{"name":"dimitarnestorov","email":"opensource@dimitarnestorov.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/data-to-sha512_0.0.1_1546034346598_0.5060517389012367"},"_hasShrinkwrap":false}},"time":{"created":"2018-12-28T21:59:06.427Z","0.0.1":"2018-12-28T21:59:06.771Z","modified":"2022-04-28T04:59:10.719Z"},"maintainers":[{"name":"dimitarnestorov","email":"opensource@dimitarnestorov.com"}],"description":"Calculates a SHA-512 for given data","homepage":"https://github.com/dimitarnestorov/file-to-hash/tree/master/packages/data-to-sha512","keywords":["sha512","data","string","buffer","checksum","hash","hex","base64","crypto"],"repository":{"type":"git","url":"git@github.com:dimitarnestorov/file-to-hash.git"},"author":{"name":"Dimitar Nestorov","email":"opensource@dimitarnestorov.com"},"license":"MIT","readme":"# data-to-sha512\n\n> Calculates a SHA-512 of a given buffer/string\n\n## Install\n\nUsing yarn:\n```sh\nyarn add data-to-sha512\n```\n\nor using npm:\n```sh\nnpm install data-to-sha512\n```\n\n## Usage\n\n```javascript\nconst fs = require('fs')\nconst dataToSHA512 = require('data-to-sha512')\n\nconst buffer = fs.readFileSync('/path/to/file')\n\nconst hash = dataToSHA512(buffer)\n```\n","readmeFilename":"README.md"}