{"name":"cipher-base","version":"1.0.7","description":"abstract base class for crypto-streams","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublishOnly":"safe-publish-latest","prepublish":"not-in-publish || npm run prepublishOnly","lint":"eslint --ext=js,.mjs .","pretest":"npm run lint","test":"npm run tests-only","tests-only":"tape 'test/**/*.js'","posttest":"npx npm@'>=10.2' audit --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/crypto-browserify/cipher-base.git"},"keywords":["cipher","stream"],"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/crypto-browserify/cipher-base/issues"},"homepage":"https://github.com/crypto-browserify/cipher-base#readme","dependencies":{"inherits":"^2.0.4","safe-buffer":"^5.2.1","to-buffer":"^1.2.2"},"devDependencies":{"@ljharb/eslint-config":"^21.2.0","auto-changelog":"^2.5.0","encoding":"^0.1.13","eslint":"=8.8.0","in-publish":"^2.0.1","npmignore":"^0.3.1","safe-publish-latest":"^2.0.0","tape":"^5.9.0"},"publishConfig":{"ignore":[".github/workflows"]},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"engines":{"node":">= 0.10"},"_id":"cipher-base@1.0.7","gitHead":"00567180c846dd3db3848c9223991c58a0d5490c","_nodeVersion":"24.8.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-Mz9QMT5fJe7bKI7MH31UilT5cEK5EHHRCccw/YRFsRY47AuNgaV6HY3rscp0/I4Q+tTW/5zoqpSeRRI54TkDWA==","shasum":"bd094bfef42634ccfd9e13b9fc73274997111e39","tarball":"http://registry-npm.ywwl.com/cipher-base/download/cipher-base-1.0.7.tgz","fileCount":8,"unpackedSize":16293,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQChHrl+Jx82gXHKk31y2l14Jw/SnU1G5uMoiGxXMxpADAIhALTIDml37lyWgZ9xoOTNhjoM5dPmEu40qRVXrnlkGaL3"}],"size":5621,"noattachment":false,"key":"/cipher-base/-/cipher-base-1.0.7.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"dcousens","email":"npm2025+dan@dcousens.com"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cipher-base_1.0.7_1758775956401_0.6254569988868763"},"_hasShrinkwrap":false,"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":1758775956583,"_cnpm_publish_time":1758775956583,"dist-tags":{"latest":"1.0.7"}}