{"name":"cipher-base","version":"1.0.6","keywords":["cipher","stream"],"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","_id":"cipher-base@1.0.6","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"dcousens","email":"npm2023@dcousens.com"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"homepage":"https://github.com/crypto-browserify/cipher-base#readme","bugs":{"url":"https://github.com/crypto-browserify/cipher-base/issues"},"dist":{"shasum":"8fe672437d01cd6c4561af5334e0cc50ff1955f7","tarball":"http://registry-npm.ywwl.com/cipher-base/download/cipher-base-1.0.6.tgz","fileCount":8,"integrity":"sha512-3Ek9H3X6pj5TgenXYtNWdaBon1tgYCaebd+XPg0keyjEbEfkD4KkmAxkQ/i1vYvxdcT5nscLBfq9VJRmCBcFSw==","signatures":[{"sig":"MEUCIQDfxwsJBpUgoHyGMFVrnnTwn60SEKFwrA0xfj6flgPR7QIge4ux0s+ivZ9F7/j2cc7S2VvrJdvp7lLkyuCP7gTuqbg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17825,"size":6136,"noattachment":false,"key":"/cipher-base/-/cipher-base-1.0.6.tgz"},"main":"index.js","engines":{"node":">= 0.10"},"gitHead":"f5249f94611506ef35a8be4d48a3fc5ecf1fac63","scripts":{"lint":"eslint --ext=js,.mjs .","test":"npm run tests-only","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"npx npm@'>=10.2' audit --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"repository":{"url":"git+https://github.com/crypto-browserify/cipher-base.git","type":"git"},"_npmVersion":"10.9.0","description":"abstract base class for crypto-streams","directories":{},"_nodeVersion":"23.2.0","dependencies":{"inherits":"^2.0.4","safe-buffer":"^5.2.1"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"tape":"^5.9.0","eslint":"=8.8.0","encoding":"^0.1.13","npmignore":"^0.3.1","in-publish":"^2.0.1","auto-changelog":"^2.5.0","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.1.1"},"_npmOperationalInternal":{"tmp":"tmp/cipher-base_1.0.6_1732651695419_0.35035330286454847","host":"s3://npm-registry-packages"},"readme":"cipher-base\n===\n\n[![Build Status](https://travis-ci.org/crypto-browserify/cipher-base.svg)](https://travis-ci.org/crypto-browserify/cipher-base)\n\nAbstract base class to inherit from if you want to create streams implementing\nthe same api as node crypto streams.\n\nRequires you to implement 2 methods `_final` and `_update`. `_update` takes a\nbuffer and should return a buffer, `_final` takes no arguments and should return\na buffer.\n\n\nThe constructor takes one argument and that is a string which if present switches\nit into hash mode, i.e. the object you get from crypto.createHash or\ncrypto.createSign, this switches the name of the final method to be the string\nyou passed instead of `final` and returns `this` from update.\n","publish_time":1732651695603,"_cnpm_publish_time":1732651695603,"dist-tags":{"latest":"1.0.7"}}