{"_id":"spritzjs","_rev":"32-8e45fb395b5a8a9e3367cbbf24c8975e","name":"spritzjs","description":"A Spritz stream-cipher implementation in JavaScript","dist-tags":{"latest":"1.4.18"},"versions":{"0.0.1":{"name":"spritzjs","version":"0.0.1","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampears"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","_id":"spritzjs@0.0.1","dist":{"shasum":"da0aeb91a59ec1b155418cd00189ddf685774ae3","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-0.0.1.tgz","integrity":"sha512-zAhdhzkT/ApONrftGYFQSKWa9TKXtxiK3186IEJVWLTiqva8ntDCkp24TAinIp+Lt7cDh6ZsfmR1q1aFQcOnjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQhHTTC1r/Gn8nPwz4Bsq550Ceh5E4JuoQJMHmbUryDAiEAok8IrIkBpS2EiFUAQcerXd+Xrrrb3eXDkXmGEP6bMpQ="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"0.0.2":{"name":"spritzjs","version":"0.0.2","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node ./node_modules/.bin/tape ./test/spritzjs-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@0.0.2","dist":{"shasum":"cd7b006dd6997f2777a65e26a35ddaaf4c8d136a","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-0.0.2.tgz","integrity":"sha512-bTeHG6CMiV22BJXaGQ7Q9f+3apRiiXP0FekshuhBox79ls5QYy0KqoLxdNnnWQWYQJy6WiPfLOgHVBvGtVw/QQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDepoLkfcmNkhouUV0khsWyD9aiMxarB1QV4piJkw/SkAIgd+BOj8O+Yiz7L1x/j4NJGYxTfPBTA9o5GxYvvtNVKsM="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"0.0.3":{"name":"spritzjs","version":"0.0.3","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node ./node_modules/.bin/tape ./test/spritzjs-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@0.0.3","dist":{"shasum":"3a3242165945ee33249dce9b8299192f09685ca6","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-0.0.3.tgz","integrity":"sha512-Qy2Abb8zwjSRtbCU5Mm1Ie2cB33Xn6QClRmVm9IyXEX1FKphEKCFD4A6FqD8En6IFQr/o/RXBlQ+3l+oyj0zZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCB9Wzy5CjPTlisRCkarNn17lKwEqTRLV3bdf5nq45NBQIgTzPq8zBI+XL0zPMSEcig+vBfSLyflqmBYkXbJiaNRwU="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"0.0.4":{"name":"spritzjs","version":"0.0.4","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node test/spritzjs-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@0.0.4","dist":{"shasum":"a32dcd3f57835265c84eddf8da3d4c2fcc5c310a","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-0.0.4.tgz","integrity":"sha512-DXlwO0JAgsSXYYcRS23FPQVfjbX5F3VhYiDE+MvMkSd45XyjJxyT0oHUVZkvv5vRMtlhHj9FeEBK4dKgqPRByA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAyx0yQa+5f/gWSJ8uOv0gswVz85YHePB/sNxmvWHoWFAiB4nYL99kMhk0AWZEMXOMbIq/sZ9AhqzeZL/PRgsMzGVA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"0.1.5":{"name":"spritzjs","version":"0.1.5","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node test/spritzjs-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@0.1.5","dist":{"shasum":"5c0fcd23dc5b3ca5b2a2dfe0f01ed17816265024","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-0.1.5.tgz","integrity":"sha512-gl57g29QY+7Tm1Ekv2UCvarLmavIYi8GueHVubLbqS4F0vWqt+nUkrDcFzdjUFW7Cw+sHpGAf9hQdIOGk/Bg8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGCJhpuOKxRxDxz0Y5GThv27ApKVHbhKPx1N+L/cPXYAiEA1a3pmP5V0nKYC6iBT0/owo85Z2Z37fL0PLkAtyNa5OY="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"0.1.6":{"name":"spritzjs","version":"0.1.6","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node test/spritzjs-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@0.1.6","dist":{"shasum":"ee5f9befadf6ecf7f0f2ea89879e7910f224c454","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-0.1.6.tgz","integrity":"sha512-GGxtWWPwP3S3YhWyg1WaIEY4psQaWnA06MZPFNm+Vdxa0/VdWs9+WN823PZEMqTyCI552v22tbYNTvznVu9JCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpaklxt5YS5C7EdIm1DZPNJaLyEcR7tkGaVic4MJCPWQIgOSN7yCnbGOFs+KE99l7vUW2Uv7sQJYcnNWoyNBEWptM="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"0.1.7":{"name":"spritzjs","version":"0.1.7","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node test/spritzjs-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@0.1.7","dist":{"shasum":"f349ad60f09c39a5fd93977219e5f6a001ec96b8","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-0.1.7.tgz","integrity":"sha512-kC47aXY2W67BYQg+Vl0aA0t5eqeGgUKIHEHkoYybO3JlDZwoiURB94yAVabSxZRDryEcO2AqpbeXJZWx5Wzpzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICp7cnTmKUjnJ6dKCaNOS706c5FCTb13ZVx96PYCNnP3AiEA3ZAC0FuM7sgGJvMhKs+GUO9c5cqyNZ2vTR9/XoXPUmw="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"0.1.8":{"name":"spritzjs","version":"0.1.8","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node test/spritzjs-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@0.1.8","dist":{"shasum":"99635fc7028752a8dfbbbc6703553ff5000752ea","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-0.1.8.tgz","integrity":"sha512-uCQrIUO1lCr0qRMSHhOMjof1vpBhkVXJrrXoXwClZmMI09KhL/Q5pZpfqj1C4yNuR9tJtntg30vCu8XI10+T6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTOS7A42x+fmazE3VdKCNoJYCb8pMXmCmDK40Le+iRSwIgZLH7zzM6MLa67YtUdLccRID8FJfYn6RscleiaUCMRE4="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"0.1.9":{"name":"spritzjs","version":"0.1.9","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node test/spritzjs-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@0.1.9","dist":{"shasum":"952819db0d6dc79b33299b508074e12fe29f3eba","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-0.1.9.tgz","integrity":"sha512-j8j/QCGmVIg992ovwbC+fqhHvg3qEHcqSJJ19NTfB2nkkqlQuM/enqMHuzl1owg5UTobcewJXLCEpw8h85Q1Qw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi4W5XPlKe0TmNGzV8mZXuaN3sqZ6tDieTi/Tj6gn81gIgcmL/EoLBmHUV/dNjJ9FyAcCAgrwiv3ZI9uNiREPpBV4="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"0.1.10":{"name":"spritzjs","version":"0.1.10","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node test/spritzjs-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@0.1.10","dist":{"shasum":"834ba152c290f0c4c1d9bd654c095b4ecc20aec3","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-0.1.10.tgz","integrity":"sha512-b5ZqgDUdno5s1cIx6AuemTA1KHI9ZiFqHuxHV1euMaBjPdP5bXSnl31jgvzd3CE6sna5FqMP/nX5hgyK27FsdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvoq+ykeC+N9x4m9JxwyQAD3/bkuPbPPM1Qdp2z8sF3AIhALrf5T7NqI1ocRGTWVWdqMjKO2fuJquMpxl71eUV9r5e"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"0.3.14":{"name":"spritzjs","version":"0.3.14","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node test/spritzjs-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","spongy","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@0.3.14","dist":{"shasum":"fe0b701f95836378b713d529cc7641ce55fd033e","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-0.3.14.tgz","integrity":"sha512-TXlBPzAKnJ1RmA8F07sJw+BbXSGx2lhJ8ZqPtYOmMiMJLSttQeiiNSiUFahHZexE0WrUonQF8zmTuxGGYHZ2hA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbefC8sqV8JaDrWxFIJBM2JXb2IUJqznMWxXr8e0V34wIgN/lSLcCbjwwPMuIAZilFD2dfSdUDtQuFd+FfwXpVHt0="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"1.3.15":{"name":"spritzjs","version":"1.3.15","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node test/spritzjs-tests.js && node test/facade-high-level-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","spongy","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@1.3.15","dist":{"shasum":"949e3966aef71a600c69bdfffc8d635a7841d21a","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-1.3.15.tgz","integrity":"sha512-/fQEHosvLJAtKb3ywVZxgbGGvn+DMPpFWfpsIauarGsC6DSZGbApmhr3pMqrC7YSzCaj39/zayGFVVzmAzNAuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBsX6PI1upa6isR4u+pww/2KDysqdNcWmG0OV4+hAaZSAiEAsgvXt0wdMKS3p5uH9paY4glsxZo+6d0BDSx2cKzh+NM="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"1.3.16":{"name":"spritzjs","version":"1.3.16","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node test/spritzjs-tests.js && node test/facade-high-level-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["spritz","spongy","stream","cipher","rc4","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@1.3.16","dist":{"shasum":"01c3e5d595a55b1c72e6a9ff1e0d4842fd261498","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-1.3.16.tgz","integrity":"sha512-fqKYFNVcDQ+vbDMd9FIPDc7mUVEbelS2wsaGXrQyoOSB08/IzQaxeUbb1CEK26rxuRUfJvfdv6Uq2FkKThQrOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBmknkvhrTqtN5s6Zlc+qIvDdcgOjApsIuynvf3pIu7AiEA/OE7S7IhBzHwM8P9YkF0iRIwQH5uq1wp//wMdV9uzdc="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"1.4.17":{"name":"spritzjs","version":"1.4.17","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node test/spritzjs-tests.js && node test/facade-high-level-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["rc4","RC4","Spritz","cipher","sponge","function","Absorb","Squeeze","encryption","message","authentication","code","cryptographic","hash","function","spritz","spongy","stream","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@1.4.17","dist":{"shasum":"775fb333d26474fdd5ea427027df24fe7351fcee","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-1.4.17.tgz","integrity":"sha512-8pHX3DN2RaUnXz78u344X8XVKGaJcjSJ/mpKaHZrq44XFNXquMEOxuL6wnuqnGkMiZURUa4Yz8slcOPTldTlCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGnq38fBpFo1GOK+IddXo5FuM1QYIfXbsJsecApcB0cQIhAOit1G1PXYQtjhQfDLP/nHgKFIvWX0EOUbvDyaCaIC9p"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]},"1.4.18":{"name":"spritzjs","version":"1.4.18","description":"A Spritz stream-cipher implementation in JavaScript","main":"spritzjs.js","scripts":{"test":"node test/spritzjs-tests.js && node test/facade-high-level-tests.js"},"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"keywords":["rc4","RC4","Spritz","cipher","sponge","function","Absorb","Squeeze","encryption","message","authentication","code","cryptographic","hash","function","spritz","spongy","stream","variant","crypto","8-bit"],"author":{"name":"therealjampers"},"license":"MIT","bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"homepage":"https://github.com/therealjampers/spritzjs","devDependencies":{"tape":"^3.0.1"},"_id":"spritzjs@1.4.18","dist":{"shasum":"879e3144d7a958765c34f94ccd69b17f9115b322","tarball":"https://registry.npmjs.org/spritzjs/-/spritzjs-1.4.18.tgz","integrity":"sha512-fQUvF+9TVnV0aCNqhB0j6WzAys80uNNeTU1LEjCBcE+Gwhse2GPFdx3T3Id809eEEAMDbzmK2PFYFYSW4vcdZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIn8THyi1QCO0Pjh7eGgy5bxj1Rg+6G/n9uaYQjnPUvAIhAMxznV+VSZb5r/MeVakxNGitxP1QpVQOqbw6cWPiLy5u"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"therealjampers","email":"therealjampers@outlook.com"},"maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}]}},"readme":"# spritzjs\n\n### A Spritz stream-cipher implementation in JavaScript\n\nCreated with reference to \"Spritz - a spongy RC4-like stream cipher and hash function\"\nby Ronald L. Rivest and Jacob C. N. Schuldt on 2014.10.27\n\n### Intent\nProvide a literal JavaScript reference implementation from the excellent pseudo-code\ncreated by Rivest and Schuldt; allowing the reader to follow the Paper with this code\nserving as an accompaniment. To this end, variable/parameter names and their casing have\nbeen preserved, however the function names have been camelCased for JS convention.\n\nIt is hoped this may serve as a starting point for those who wish to explore this cipher\nin a JS context.\n\nThe main source file (spritzjs.js) is deliberately unoptimized with the aim of readability,\nyet is *relatively* portable. (For example, \"isArray\" support is assumed rather than feature-detected, and may need replacing if you wish to run this on IE8- or *very* old\nFirefox versions.\nSee: [http://kangax.github.io/compat-table/es5/#Array.isArray](http://kangax.github.io/compat-table/es5/#Array.isArray))\n\nTested in: Node.js (0.10.26+), Chrome (38+), Firefox (33+)\n\n##### References:\n\n- \"Spritz - a spongy RC4-like stream cipher and hash function\"\n by Rivest and Schuldt - [http://people.csail.mit.edu/rivest/pubs/RS14.pdf](http://people.csail.mit.edu/rivest/pubs/RS14.pdf)\n- \"Security Now\" podcast, episode 479 (~21 mins) - [http://twit.tv/show/security-now/479](http://twit.tv/show/security-now/479) and [shownotes](https://www.grc.com/sn/SN-479-Notes.pdf)\n- \"Security Now\" podcast, episode 480 (~57 mins) - [http://twit.tv/show/security-now/480](http://twit.tv/show/security-now/480) and [shownotes](https://www.grc.com/sn/SN-480-Notes.pdf)\n- \"Schneier on Security\" - [https://www.schneier.com/blog/archives/2014/10/spritz_a_new_rc.html](https://www.schneier.com/blog/archives/2014/10/spritz_a_new_rc.html)\n\n\n### Installation\n\n#### Node.js\n\n\tnpm install spritzjs\n\n\tcd spritzjs\n\n\tnpm install\n\n##### Run tests\n\n\tnpm test\n\n#### Browser\n\n\t<script src=\"spritzjs.js\"></script>\n\n### Usage\n\n\tvar spritzjs = require('spritzjs')();\n\nor in the browser:\n\n\tvar spritzjs = window.spritzjs();\n\nthen:\n\n#### hash\n\tvar M = [65, 66, 67];             // \"ABC\" as a byte array\n\tvar r = 32;                       // 32 byte hash desired\n\n\tvar hashed = spritzjs.hash(M, r); // \"hashed\" now contains 32 bytes of hashed \"M\" material\n\n\tconsole.log(hashed.length);       // -> 32\n\tconsole.log(hashed);              // -> [2, 143, 162,..., 71]\n\n#### encrypt/decrypt\n\n\tvar K = [115, 101, 116, 101, 99, 45, 97, 115, 116, 114, 111, 110, 111, 109, 121];\n\tvar M = [84, 104, 97, 110, 107, 32, 121, 111, 117, 32, 102, 111, 114, 32, 100, 101, 99, 111, 100, 105, 110, 103, 32, 116, 104, 105, 115, 32, 112, 108, 97, 105, 110, 116, 101, 120, 116, 32, 97, 116, 32, 108, 101, 97, 115, 116, 44, 32, 73, 32, 104, 111, 112, 101, 32, 121, 111, 117, 32, 119, 105, 108, 108, 32, 116, 114, 121, 32, 115, 112, 114, 105, 116, 122, 106, 115, 33];\n\n\tvar encrypted = spritzjs.encrypt(K, M);       // \"encrypted\" now contains ciphertext C\n\n\tconsole.log(encrypted.length === M.length);   // -> true\n\tconsole.log(encrypted);\t                      // -> [27, 217, 247,..., 165]\n\n\tvar decrypted = spritzjs.decrypt(K, encrypted);\n\n\tfor (var i = 0; i < decrypted.length; i++) {\n\t\tif (M[i] !== decrypted[i]) throw new Error(\"I shouldn't be thrown\");\n\t}\n\n### Contributors\n\n- Jonathan Grande (example implementations for the missing functions... coming soon)\n- Devin Weaver\t\t(suggestions for spritzjs uptake)\n\n\n### Other (known) Implementations\n\nThese repositories also exist, it would be good to ensure all implementations pass\nthe same verified vectors and/or assertions where relevant. Read each one to judge\nfor yourself!\n\nNB. @repository owner: Please raise an issue, mail me, or create a pull-request of this\nREADME.md to remove your repository from this list if so desired:\n\n- [https://github.com/relrod/spritz](https://github.com/relrod/spritz)\n- [https://github.com/msgodf/spritz-clojure](https://github.com/msgodf/spritz-clojure)\n- [https://github.com/codahale/spritz](https://github.com/codahale/spritz)\n- [https://github.com/dgryski/go-spritz](https://github.com/dgryski/go-spritz)\n- [https://github.com/coderslagoon/estreamJ](https://github.com/coderslagoon/estreamJ)\n- [https://github.com/jedisct1/spritz](https://github.com/jedisct1/spritz)\n- [https://github.com/k5okc/Spritz](https://github.com/k5okc/Spritz)\n- [https://github.com/skeeto/emacs-spritz](https://github.com/skeeto/emacs-spritz)\n\n### TODO\n\n- <strike>Reinstate the unit-tests - spritzjs was developed in a TDD manner using [testem](https://www.npmjs.org/package/testem), [jasmine](https://www.npmjs.org/package/jasmine) and a bunch of other stuff that doesn't need to be here so the tests will be added with a lighter test-harness (probably [tape](https://www.npmjs.org/package/tape))</strike>\n- <strike>Code - complete the basic API with encrypt/decrypt etc</strike>\n- <strike>Usage - hashing and encrypt/decrypt example now included</strike>\n- Code - add the remaining functions \"aead\" (and \"adad\")\n- Threat Modeling - THREAT.md? \"this cipher should not be used until pounded on by cryptanalysts\" etc\n- Build - [browserify](https://www.npmjs.org/package/browserify) is awesome but we want to have the smallest footprint and are not using Node.js specific functionality. Consider js(l|h)int for ensuring correctness of the clean-source version\n- Modularise - <strike>stop tests and code getting monolithic. split into core and an opt-in API.</strike> We should separate cryptanalytical test-vectors from unit-tests. Ideally we could share the same verified test vector corpus amongst any implementation, regardless of language?\n- Performance - measure performance before optimising, crypto-bench fork?\n- Optimisation - there are quick-wins available (such as the obvious N=256 and removal of \"gcd\"). what about asm.js/SIMD can we use anything here?\n- Minification - once hand-optimised, let the uglification begin, when tests are in good shape, we could \"golf\" some interesting solutions and variants, not to mention trivial pure-functional versions\n- Test vectors - more test-vectors needed! The paper only provided a handful (all are implemented in test/spritzjs-tests.js)\n- Cryptanalysis - should be ready to use as is, though there may be faster implementations\n- uC - port to microcontrollers, specifically 8-bit ones? tessle? IoT? Arduino/AVR/PIC? Even if straight-ported implementation code is not useful depending on the target architecture, we should be able to share the accumulated test-vectors and some ideas from the imperative low-footprint variants\n- Adoption - consider options for including spritzjs in other projects if the cipher is proved sound, Node.js crypto core and crypto-browserify etc.\n- Peer-review - *please*\n\nFor more information you can find the latest README.md, tests and other versions at:\n\n- [https://github.com/therealjampers/spritzjs](https://github.com/therealjampers/spritzjs)\n- [https://www.npmjs.org/package/spritzjs](https://www.npmjs.org/package/spritzjs)\n\n*- therealjampers 2014*\n","maintainers":[{"name":"therealjampers","email":"therealjampers@outlook.com"}],"time":{"modified":"2022-06-26T23:10:23.649Z","created":"2014-11-03T19:11:44.625Z","0.0.1":"2014-11-03T19:11:44.625Z","0.0.2":"2014-11-03T23:52:21.808Z","0.0.3":"2014-11-03T23:56:04.702Z","0.0.4":"2014-11-04T12:26:04.017Z","0.1.5":"2014-11-04T18:12:08.183Z","0.1.6":"2014-11-04T18:15:51.163Z","0.1.7":"2014-11-04T18:19:44.333Z","0.1.8":"2014-11-04T20:10:23.009Z","0.1.9":"2014-11-04T22:31:15.400Z","0.1.10":"2014-11-04T23:36:50.130Z","0.3.14":"2014-11-05T13:18:57.756Z","1.3.15":"2014-11-11T12:04:40.890Z","1.3.16":"2014-11-18T20:44:22.766Z","1.4.17":"2014-11-19T18:13:56.768Z","1.4.18":"2014-11-19T18:17:38.148Z"},"homepage":"https://github.com/therealjampers/spritzjs","keywords":["rc4","RC4","Spritz","cipher","sponge","function","Absorb","Squeeze","encryption","message","authentication","code","cryptographic","hash","function","spritz","spongy","stream","variant","crypto","8-bit"],"repository":{"type":"git","url":"https://github.com/therealjampers/spritzjs.git"},"author":{"name":"therealjampers"},"bugs":{"url":"https://github.com/therealjampers/spritzjs/issues"},"license":"MIT","readmeFilename":"README.md"}