{"_id":"crypto-random-uint8","_rev":"3-d41be07f430cac3c68e0e230132e29da","name":"crypto-random-uint8","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"crypto-random-uint8","version":"1.0.0","keywords":["crypto","random","uint8","uint8array","buffer"],"author":{"name":"Fabio Spampinato","email":"spampinabio@gmail.com"},"license":"MIT","_id":"crypto-random-uint8@1.0.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/crypto-random-uint8#readme","bugs":{"url":"https://github.com/fabiospampinato/crypto-random-uint8/issues"},"dist":{"shasum":"cfa339b3e02f9741a2a1e52aea81f540f67a5cf1","tarball":"https://registry.npmjs.org/crypto-random-uint8/-/crypto-random-uint8-1.0.0.tgz","fileCount":16,"integrity":"sha512-AMKiKsWrv6DjW+RjmQO61Ki4zxZyrYiOx0dpB6gTXqaRfwcAMT2CTg2g1Cv7JvZJJ+kZR+af1u1FrnbZdvieDA==","signatures":[{"sig":"MEUCIQDhxQmUWooFt0yWw8FlmiMIz+XMQ7v/k8GtaCo187XDQwIgNBPmPmCJV26tXWfJMhO49BE0jkQ0DEFkGaQV7hfXwH8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiAEZYCRA9TVsSAnZWagAAowoP/j42JK6PqhcPHdU1CcP8\nuWeBCgLN81a15wkjKFi4t8J3yY6ePnb8HycEMwOhVVxwdIhWmETWejVtq0pZ\nAp/GauiEbFgG/bmlUkjtH08G1G79CA/zQG05fOA6jX+1O/SnlY536+jJhckG\nqSI9ePTEzdA+BJufkMKY1TdB8uPCR1I+WYduMI9FKynFic3TjVOuV/WzJTMu\nQdmBUG3omHffwKoBct3vxnVQbAAIT3UDGQZeWocaZHyyyoXDagb6cKXSoAGp\nc+xMs2K8vfWTiPKR9or6cCX9BLe4B7UpCG5oekfcGcFEAhTiluLZjBa6GG2+\nrZe5A1YuKnjYUgLgTqdOFofv66SQu57+fhNwZDTWDnzUT+0NysrZ/DUBQpMw\nOa0aLx1DDuvXQ4ooC6AcO3BH2j4Vcqc+wiXE3wTlWVhlul6KT61Oyo8miVOa\n4EdxkvFCex4uh1gSeveCGZSCngPsZlbe/0Ko9QNk9hRG2gU2Y4yh/WHWZZOn\npUstIumqgBQwFJiPj9i2lnqw8MXa8thTDRESO5Eqj4RnZOMuBE8Rh63Xze1v\ntRfn3qlLOrhTrr6ZtSSdocDyNP5/elsjG21uw+ib8wuppCeEXQWxUNwbmtJ6\nJTPr9C0u+ODjUXRlN/8fyIAGBvkMQyf5wvcwzjugBKCwzou2AnOvFNqK2ve8\nMXKv\r\n=9wqB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/node.js","types":"dist/node.d.ts","exports":{"node":"./dist/node.js","default":"./dist/browser.js"},"gitHead":"2f0c2a8a7503384d49b5634cd82f01fd015916f9","scripts":{"test":"fava","clean":"rimraf dist","compile":"tsc --skipLibCheck && tstei","benchmark":"node tasks/benchmark.js","test:watch":"fava -w","compile:watch":"tsc --skipLibCheck --watch","prepublishOnly":"npm run clean && npm run compile && npm run test"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/crypto-random-uint8.git","type":"git"},"_npmVersion":"8.1.0","description":"Generate a cryptographically-random Uint8Array with the given number of bytes of entropy.","directories":{},"_nodeVersion":"16.13.0","_hasShrinkwrap":false,"devDependencies":{"fava":"^0.0.4","rimraf":"^3.0.2","benchloop":"^1.3.2","typescript":"^4.5.5","@types/node":"^17.0.15","typescript-transform-export-interop":"^1.0.4"},"_npmOperationalInternal":{"tmp":"tmp/crypto-random-uint8_1.0.0_1644185176365_0.6092846168100872","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"crypto-random-uint8","version":"2.0.0","keywords":["crypto","random","uint8","uint8array","buffer"],"_id":"crypto-random-uint8@2.0.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/crypto-random-uint8#readme","bugs":{"url":"https://github.com/fabiospampinato/crypto-random-uint8/issues"},"dist":{"shasum":"b23a13fed21b26b5857365a129b5ab2ab161043f","tarball":"https://registry.npmjs.org/crypto-random-uint8/-/crypto-random-uint8-2.0.0.tgz","fileCount":10,"integrity":"sha512-f+8cs69h8slhuUgikcjhIQAvEdAi5zfd/ZsIufZpLwaUsXoYFE25dHfFu4vLPlj69xAaEhWtZESySLN/lx5miw==","signatures":[{"sig":"MEQCICDEoJFDdI4T/oxFEt5yZ+C8rVdl5hdzhANZmal/YqKSAiBuuIRPBcU0ukyc7ejQe2+VuhmpJAutVWMTppcUTp42Hw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5941,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTJbjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqmQ/+I2oILsOZR6uEXuOkgFPOZ87g4cA+7hh9yNlzjY+5MGRw+LWf\r\nvQw1+YUsaEBwXzczBzZnQqwTe1o8Cc+zzTlZQTnrIpcUB7WrCT5FwgBLoIOF\r\nH7Wfz9Fasv4dwaOJy6NHQ1AfcZyf2KxcFbYSou8oOSyUWLDHsnFp9VQicvrY\r\nUJP7Tj6gorNTnpMtuMoKG7MpKBT6g6tdlNYSwSriyt305gOaLkNijldtakD8\r\n88D/LJtv0KGndXB2Bcb9n6jpsPOm/qJ5+pwz/fqCqseCyLsbp9acT5DGorAP\r\nCSs1/1hAw1a96Xj2GCDlHilpC6qULic7ERzsIZ9OemEIXhjM6fw0wFenKJPu\r\nuYXwAyXJuc32UmXCz8A/WmesnlCAcJGruQJElwXZNku/vIuqTXdO6FHmN74B\r\nJO/DqV8tRuQlYHb5xSUGluCg4ht6MevTstQ3mjgmzbDHCBgUfZPmfionxFbX\r\nLn3bqjQ2Z0q0STXPtCklqVDfQaowVJkV5bEXXP6DVDt8Vd3yek1gr90ipEMz\r\n4/XAux6tHGquyVNO6e7n217bxrgrmA0AIFlQHS6olD6+OzTHVnhTYAA24ekr\r\nqZkNN7SqEfQtt3Ym0DYV8i+t+dCnOo3PB4OfIxCxli1oS0Jo53Md1Y7v8vqf\r\nSx8D5ZY6KLeMIKFkS2+PwAWkENU6gV7ak0s=\r\n=JdNU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"9f320afa72e55b65d1fd2afe45ce13630ad98ada","scripts":{"test":"tsex test","clean":"tsex clean","compile":"tsex compile","benchmark":"tsex benchmark","test:watch":"tsex test --watch","compile:watch":"tsex compile --watch","prepublishOnly":"npm run clean && npm run compile && npm run test","benchmark:watch":"tsex benchmark --watch"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/crypto-random-uint8.git","type":"git"},"_npmVersion":"8.1.0","description":"Generate a cryptographically-random Uint8Array with the given number of bytes of entropy.","directories":{},"_nodeVersion":"16.13.0","dependencies":{"tiny-webcrypto":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"fava":"^0.0.6","tsex":"^1.0.4","benchloop":"^1.3.2","typescript":"^4.6.3"},"_npmOperationalInternal":{"tmp":"tmp/crypto-random-uint8_2.0.0_1649186531390_0.9553723812707713","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"crypto-random-uint8","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/crypto-random-uint8.git"},"description":"Generate a cryptographically-random Uint8Array with the given number of bytes of entropy.","license":"MIT","version":"2.0.1","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"benchmark":"tsex benchmark","benchmark:watch":"tsex benchmark --watch","clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["crypto","random","uint8","uint8array","buffer"],"dependencies":{"tiny-webcrypto":"^1.0.2"},"devDependencies":{"benchloop":"^2.1.1","fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.7.3"},"_id":"crypto-random-uint8@2.0.1","gitHead":"3d79c231faf5d9a83abb5e139d4d4f55e3e22d00","bugs":{"url":"https://github.com/fabiospampinato/crypto-random-uint8/issues"},"homepage":"https://github.com/fabiospampinato/crypto-random-uint8#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-/BIwU0p3Q/Y/ied2l1I42rxvGTDwiOKc+jdIF/a5M+11rTJnPY2dp42o13etP8K+SkG4lA8xVsvKYe1u2e2R2g==","shasum":"79394a3023a1f735268d835cb10e908c58d10760","tarball":"https://registry.npmjs.org/crypto-random-uint8/-/crypto-random-uint8-2.0.1.tgz","fileCount":5,"unpackedSize":3345,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqX4AnPllb1MZ4OGKVdVdmbdYogn0M/Tm7SR2InCBI9AiBHTeV3qKp724rZXfmlZ8pX7uhtIiR5rxrmj9qB4Kfo9A=="}]},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/crypto-random-uint8_2.0.1_1737075597416_0.4297628725840368"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-06T22:06:16.365Z","modified":"2025-01-17T00:59:57.830Z","1.0.0":"2022-02-06T22:06:16.505Z","2.0.0":"2022-04-05T19:22:11.567Z","2.0.1":"2025-01-17T00:59:57.605Z"},"bugs":{"url":"https://github.com/fabiospampinato/crypto-random-uint8/issues"},"homepage":"https://github.com/fabiospampinato/crypto-random-uint8#readme","keywords":["crypto","random","uint8","uint8array","buffer"],"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/crypto-random-uint8.git"},"description":"Generate a cryptographically-random Uint8Array with the given number of bytes of entropy.","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"readme":"# Crypto Random Uint8\n\nGenerate a cryptographically-random Uint8Array with the given number of bytes of entropy.\n\n## Install\n\n```sh\nnpm install crypto-random-uint8\n```\n\n## Usage\n\n```ts\nimport random from 'crypto-random-uint8';\n\n// Let's get some random Uint8Arrays\n\nrandom ( 8 ); // => <Uint8Array(8) 171, 2, 177, 127, 226, 149, 102, 130>\nrandom ( 16 ); // => <Uint8Array(16) 158, 153, 84, 135, 102, 48, 148, 135, 117, 74, 236, 216, 240, 239, 6, 30>\nrandom ( 32 ); // => <Uint8Array(32) 101, 67, 214, 187, 36, 255, 127, 15, 95, 90, 125, 136, 80, 31, 239, 20, 221, 145, 179, 139, 88, 30, 178, 92, 31, 249, 209, 80, 176, 78, 190, 56>\nrandom ( 64 ); // => <Uint8Array(64) 42, 90, 86, 4, 78, 192, 56, 17, 108, 171, 61, 61, 52, 234, 190, 185, 196, 150, 134, 200, 164, 47, 110, 118, 162, 107, 244, 94, 202, 83, 152, 12, 96, 224, 213, 161, 44, 229, 45, 65, 153, 58, 232, 22, 81, 173, 156, 213, 172, 227, 186, 150, 234, 144, 227, 124, 211, 249, 26, 246, 195, 222, 96, 177>\n```\n\n## License\n\nMIT © Fabio Spampinato\n","readmeFilename":"readme.md","license":"MIT"}