{"_id":"cipher-base","_rev":"1590886","name":"cipher-base","description":"abstract base class for crypto-streams","dist-tags":{"latest":"1.0.7"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"dcousens","email":"npm2025+dan@dcousens.com"},{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"time":{"modified":"2026-10-16T23:30:11.000Z","created":"2015-09-26T21:01:59.671Z","1.0.7":"2025-09-25T04:52:36.583Z","1.0.6":"2024-11-26T20:08:15.603Z","1.0.5":"2024-11-17T18:06:35.104Z","1.0.4":"2017-07-07T19:20:57.712Z","1.0.3":"2016-09-13T11:44:40.235Z","1.0.2":"2015-10-23T18:30:27.552Z","1.0.1":"2015-09-26T22:01:11.047Z","1.0.0":"2015-09-26T21:01:59.671Z"},"users":{},"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/crypto-browserify/cipher-base.git"},"versions":{"1.0.7":{"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,"publish_time":1758775956583,"_cnpm_publish_time":1758775956583},"1.0.6":{"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"},"publish_time":1732651695603,"_cnpm_publish_time":1732651695603},"1.0.5":{"name":"cipher-base","version":"1.0.5","keywords":["cipher","stream"],"author":{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},"license":"MIT","_id":"cipher-base@1.0.5","maintainers":[{"name":"dcousens","email":"npm2023@dcousens.com"},{"name":"ljharb","email":"ljharb@gmail.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":"749f80731c7821e9a5fabd51f6998b696f296686","tarball":"http://registry-npm.ywwl.com/cipher-base/download/cipher-base-1.0.5.tgz","fileCount":8,"integrity":"sha512-xq7ICKB4TMHUx7Tz1L9O2SGKOhYMOTR32oir45Bq28/AQTpHogKgHcoYFSdRbMtddl+ozNXfXY9jWcgYKmde0w==","signatures":[{"sig":"MEUCIQCVoa0kSuoW4nVTPNbGfGbkzKQ8UouhM5iv8nm/vAh/nwIga++ydshL6FYczKVAWCZRTVzldC9/VF/OVDnc16RuW8M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":15482,"size":5694,"noattachment":false,"key":"/cipher-base/-/cipher-base-1.0.5.tgz"},"main":"index.js","engines":{"node":">= 0.10"},"gitHead":"f03cebfdad1cba1d56614c58affa303b0fa2a43e","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.5_1731866794938_0.5621459160671225","host":"s3://npm-registry-packages"},"publish_time":1731866795104,"_cnpm_publish_time":1731866795104},"1.0.4":{"name":"cipher-base","version":"1.0.4","description":"abstract base class for crypto-streams","main":"index.js","scripts":{"test":"node test.js | tspec"},"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.1","safe-buffer":"^5.0.1"},"devDependencies":{"standard":"^10.0.2","tap-spec":"^4.1.0","tape":"^4.2.0"},"gitHead":"bc18dc847050c34f11f7a0472ff13a76b53fedc6","_id":"cipher-base@1.0.4","_npmVersion":"5.1.0","_nodeVersion":"8.1.1","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"integrity":"sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==","shasum":"8760e4ecc272f4c363532f926d874aae2c1397de","tarball":"http://registry-npm.ywwl.com/cipher-base/download/cipher-base-1.0.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCICF9/LJGJJnJkjH9Tjsv/tgnyojrPE+SZLwTn4daGkj/Ah8cpvu53cmpzXSZl6UhKBRXusHXM7+rNdoPThnAfh7r"}],"size":3041,"noattachment":false,"key":"/cipher-base/-/cipher-base-1.0.4.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cipher-base-1.0.4.tgz_1499455256804_0.9936195954214782"},"directories":{},"publish_time":1499455257712,"_cnpm_publish_time":1499455257712},"1.0.3":{"name":"cipher-base","version":"1.0.3","description":"abstract base class for crypto-streams","main":"index.js","scripts":{"test":"node test.js | tspec"},"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.1"},"devDependencies":{"tap-spec":"^4.1.0","tape":"^4.2.0"},"gitHead":"de2af9758ce75ef5f9a9bdaf0ba5312609a7e59a","_id":"cipher-base@1.0.3","_shasum":"eeabf194419ce900da3018c207d212f2a6df0a07","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"eeabf194419ce900da3018c207d212f2a6df0a07","tarball":"http://registry-npm.ywwl.com/cipher-base/download/cipher-base-1.0.3.tgz","integrity":"sha512-Ci/6dw5oG7K7Eqvpo3xbK3WYpZdT8RjSUn87DZHkKShDVbB9iIxCBKNXdm7IlpV+gwt7uDwZDhV0mmrRSkcOsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/J2CAByOWDuodCOFK4diRJjgEqEBb0QgfNwBAqT2T7QIgPDtiBqqeNvxl8L+tuIS5txhPbQ70+FPviuS5foa4u8U="}],"size":2217,"noattachment":false,"key":"/cipher-base/-/cipher-base-1.0.3.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cipher-base-1.0.3.tgz_1473767078206_0.1380389309488237"},"directories":{},"publish_time":1473767080235,"_cnpm_publish_time":1473767080235},"1.0.2":{"name":"cipher-base","version":"1.0.2","description":"abstract base class for crypto-streams","main":"index.js","scripts":{"test":"node test.js | tspec"},"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.1"},"devDependencies":{"tap-spec":"^4.1.0","tape":"^4.2.0"},"gitHead":"c295535e1eef90a587dba110c8799bfd68f75161","_id":"cipher-base@1.0.2","_shasum":"54ac1d1ebdf6a1bcd3559e6f369d72697f2cab8f","_from":".","_npmVersion":"2.9.0","_nodeVersion":"4.2.1","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"54ac1d1ebdf6a1bcd3559e6f369d72697f2cab8f","tarball":"http://registry-npm.ywwl.com/cipher-base/download/cipher-base-1.0.2.tgz","integrity":"sha512-9vQ1oJJN1NvpcgM2JxrT8dpzIFy/a95NM2NU3OiWWe98SemYKixrtfcGb/oKgVoO7WY1X7GR+02Sj2mrMdKQkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDptft6vejIC0MFAKd3Ex9iU3cxEiBuMEvohB9muZXuegIhAKVvwxG3am/O9VHBsCEADz89lGdPR1m3rBes6oXxIxMc"}],"size":2921,"noattachment":false,"key":"/cipher-base/-/cipher-base-1.0.2.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"directories":{},"publish_time":1445625027552,"_cnpm_publish_time":1445625027552},"1.0.1":{"name":"cipher-base","version":"1.0.1","description":"abstract base class for crypto-streams","main":"index.js","scripts":{"test":"node test.js | tspec"},"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.1"},"devDependencies":{"tap-spec":"^4.1.0","tape":"^4.2.0"},"gitHead":"5f5eb4a23599806ef5f92aa25930ac0beeb35bd1","_id":"cipher-base@1.0.1","_shasum":"b714888e810519106b3b039948e4fc9e2718c563","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"b714888e810519106b3b039948e4fc9e2718c563","tarball":"http://registry-npm.ywwl.com/cipher-base/download/cipher-base-1.0.1.tgz","integrity":"sha512-RQ2afgzFSWiX9Ew6f5jFGM0H145uk3CGeswkHBjm32/ZQLYWJ9MnDf9scI9pHflf48aEYBNFbw1mVGIOrocynw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDLqbcFNFQE2O1X7wlHLpZF0RbU2blZr+2IvL7j96+udAiEAr97m++KcG39pskhCBFkcPkJPwO0w3VOGJktg+wdBdt0="}],"size":2039,"noattachment":false,"key":"/cipher-base/-/cipher-base-1.0.1.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"directories":{},"publish_time":1443304871047,"_cnpm_publish_time":1443304871047},"1.0.0":{"name":"cipher-base","version":"1.0.0","description":"abstract base class for crypto-streams","main":"index.js","scripts":{"test":"node test.js | tspec"},"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.1"},"devDependencies":{"tap-spec":"^4.1.0","tape":"^4.2.0"},"gitHead":"8fbd9e7654d384b578e63d12e0311ae16dc07741","_id":"cipher-base@1.0.0","_shasum":"b7aa42ea5fe8e7615926380528c4ee3a2d33444d","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"cwmma","email":"calvin.metcalf@gmail.com"},"dist":{"shasum":"b7aa42ea5fe8e7615926380528c4ee3a2d33444d","tarball":"http://registry-npm.ywwl.com/cipher-base/download/cipher-base-1.0.0.tgz","integrity":"sha512-rlCjNdKu92BhldQolom2fUxl/sAftMJwASUvNwq7DsDU9vT8hqNhY2wtXQhwQlnDNXdI3QCPfKbzGf1HBUC+3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOmQf+2zfxqJXcpifcASgflSgI4LouS7Fzu81otJQY4gIhAPEqMtlSpExRqnxUFCNhmcmiEjFnow2kXkQByOQdBNVC"}],"size":1979,"noattachment":false,"key":"/cipher-base/-/cipher-base-1.0.0.tgz"},"maintainers":[{"name":"cwmma","email":"calvin.metcalf@gmail.com"}],"directories":{},"publish_time":1443301319671,"_cnpm_publish_time":1443301319671}},"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","_attachments":{},"homepage":"https://github.com/crypto-browserify/cipher-base#readme","bugs":{"url":"https://github.com/crypto-browserify/cipher-base/issues"},"license":"MIT"}