{"_id":"@apislash/cryptobox-core","_rev":"3-ce0233895638ffc4d9f82bed2ad832d7","name":"@apislash/cryptobox-core","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@apislash/cryptobox-core","version":"1.0.0","license":"MIT","_id":"@apislash/cryptobox-core@1.0.0","maintainers":[{"name":"jantheon","email":"vonhara@gmail.com"}],"dist":{"shasum":"1ce6b8e7dde8f61d645b560194c588a6519ed22c","tarball":"https://registry.npmjs.org/@apislash/cryptobox-core/-/cryptobox-core-1.0.0.tgz","fileCount":9,"integrity":"sha512-imJT5V0PsYccfh8ISiUy3nlPkAjz4oNXk5wQs11KQR4doH/xQnX+cttHGVp80uUo3jqwlD8wX0GDAchXdwTzxg==","signatures":[{"sig":"MEQCIHFZIdG/BXbRtxcvw8LcyKkGHWdo0rUbhQQ6nk9HQjICAiAgiOWFB4U/Hahszpl3X/W2EQmnHJg07f4bpFZ84/UEbw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35666},"main":"dist/index.cjs","type":"module","_from":"file:apislash-cryptobox-core-1.0.0.tgz","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"pnpm exec vitest run --passWithNoTests","build":"pnpm exec tsup src/index.ts --format esm,cjs --dts --sourcemap --clean --out-dir dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"jantheon","email":"vonhara@gmail.com"},"_resolved":"/tmp/aac99a44cb2b44aacad14f981fe30c9d/apislash-cryptobox-core-1.0.0.tgz","_integrity":"sha512-imJT5V0PsYccfh8ISiUy3nlPkAjz4oNXk5wQs11KQR4doH/xQnX+cttHGVp80uUo3jqwlD8wX0GDAchXdwTzxg==","_npmVersion":"11.14.1","description":"Quantum-resistant cryptography interfaces and shared logic (ML-KEM-768/1024 + AES-GCM-256 hybrid) for any TypeScript project. Provider-agnostic core, usable anywhere — published and maintained by Apislash.","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"registry":"https://gitlab.com/api/v4/projects/80697590/packages/npm/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cryptobox-core_1.0.0_1780133518591_0.2957366893164113","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@apislash/cryptobox-core","version":"1.0.1","keywords":["apislash","crypto","cryptography","encryption","webcrypto","aes","typescript"],"author":{"name":"jantheon","email":"vonhara@gmail.com"},"license":"MIT","_id":"@apislash/cryptobox-core@1.0.1","maintainers":[{"name":"jantheon","email":"vonhara@gmail.com"}],"homepage":"https://gitlab.com/apislash/libs/client/cryptobox/ts/-/tree/main/packages/cryptobox-core#readme","bugs":{"url":"https://gitlab.com/apislash/libs/client/cryptobox/ts/-/issues"},"dist":{"shasum":"0fee286b0573727b2178809ae1a1e6d9f027a2d1","tarball":"https://registry.npmjs.org/@apislash/cryptobox-core/-/cryptobox-core-1.0.1.tgz","fileCount":9,"integrity":"sha512-geBpnEr7zND5Z0pVDCD8BScIdYUzWtq+2qBafExfhLomh1rV1WvMjtRqs9RBH4qQFoVzrtkaTs3mpuhcMRsjMg==","signatures":[{"sig":"MEYCIQCHSNOcWBQ7pEJKQf5+W3ggjPuFQhT5mva8q1V5b108xAIhAKbAHVETGfUI+m/XJnoJ1b8zxvgj7H17NRp5OfBfX/uN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36209},"main":"dist/index.cjs","type":"module","_from":"file:apislash-cryptobox-core-1.0.1.tgz","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"test":"pnpm exec vitest run --passWithNoTests","build":"pnpm exec tsup src/index.ts --format esm,cjs --dts --sourcemap --clean --out-dir dist","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"jantheon","email":"vonhara@gmail.com"},"_resolved":"/tmp/db56daeeff2c672550e82c503e56dff3/apislash-cryptobox-core-1.0.1.tgz","_integrity":"sha512-geBpnEr7zND5Z0pVDCD8BScIdYUzWtq+2qBafExfhLomh1rV1WvMjtRqs9RBH4qQFoVzrtkaTs3mpuhcMRsjMg==","repository":{"url":"git+https://gitlab.com/apislash/libs/client/cryptobox/ts.git","type":"git","directory":"packages/cryptobox-core"},"_npmVersion":"10.8.2","description":"Quantum-resistant cryptography interfaces and shared logic (ML-KEM-768/1024 + AES-GCM-256 hybrid) for any TypeScript project. Provider-agnostic core, usable anywhere — published and maintained by Apislash.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","publishConfig":{"registry":"https://gitlab.com/api/v4/projects/80697590/packages/npm/"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/cryptobox-core_1.0.1_1781942743588_0.4920648816467308","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@apislash/cryptobox-core","version":"1.0.2","description":"Quantum-resistant cryptography interfaces and shared logic (ML-KEM-768/1024 + AES-GCM-256 hybrid) for any TypeScript project. Provider-agnostic core, usable anywhere — published and maintained by Apislash.","type":"module","main":"./src/index.ts","module":"./src/index.ts","types":"./src/index.ts","exports":{".":{"types":"./src/index.ts","default":"./src/index.ts"}},"publishConfig":{"main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}}},"sideEffects":false,"scripts":{"build":"pnpm exec tsup src/index.ts --format esm,cjs --dts --sourcemap --clean --out-dir dist","typecheck":"tsc -p tsconfig.json --noEmit","test":"pnpm exec vitest run --passWithNoTests"},"license":"MIT","repository":{"type":"git","url":"git+https://gitlab.com/apislash/libs/client/cryptobox/ts.git","directory":"packages/cryptobox-core"},"homepage":"https://gitlab.com/apislash/libs/client/cryptobox/ts/-/tree/main/packages/cryptobox-core#readme","bugs":{"url":"https://gitlab.com/apislash/libs/client/cryptobox/ts/-/issues"},"author":{"name":"jantheon","email":"vonhara@gmail.com"},"keywords":["apislash","crypto","cryptography","encryption","webcrypto","aes","typescript"],"gitHead":"9d2e767c4e36369112d0b54dce9599107e34ae55","_id":"@apislash/cryptobox-core@1.0.2","_nodeVersion":"20.20.2","_npmVersion":"11.17.0","dist":{"integrity":"sha512-rmM20fRm6KmMyzbYK6WEZn2xjqSLlS1DOyPBPLxdb3AX3PcjKmLUkZhlSiiksqc8UO29e7eNNuHqhsJekzlmRQ==","shasum":"baebecf6353e2900503c5971d93a895aa18343c6","tarball":"https://registry.npmjs.org/@apislash/cryptobox-core/-/cryptobox-core-1.0.2.tgz","fileCount":9,"unpackedSize":36344,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@apislash%2fcryptobox-core@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICUUxl6YmdrYHWmeUC+ECgTr/85yr+Xn4P7QkZACEzCaAiApX672pHNt/HbY6LGWf8HSWOngSi01cLnh44pDCpW+kw=="}]},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:fdf5606f-d7c5-47e7-b059-05a48adf616b"}},"directories":{},"maintainers":[{"name":"jantheon","email":"vonhara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cryptobox-core_1.0.2_1781948276557_0.6870372798179376"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-30T09:31:58.398Z","modified":"2026-06-20T09:37:57.039Z","1.0.0":"2026-05-30T09:31:58.763Z","1.0.1":"2026-06-20T08:05:43.737Z","1.0.2":"2026-06-20T09:37:56.683Z"},"bugs":{"url":"https://gitlab.com/apislash/libs/client/cryptobox/ts/-/issues"},"author":{"name":"jantheon","email":"vonhara@gmail.com"},"license":"MIT","homepage":"https://gitlab.com/apislash/libs/client/cryptobox/ts/-/tree/main/packages/cryptobox-core#readme","keywords":["apislash","crypto","cryptography","encryption","webcrypto","aes","typescript"],"repository":{"type":"git","url":"git+https://gitlab.com/apislash/libs/client/cryptobox/ts.git","directory":"packages/cryptobox-core"},"description":"Quantum-resistant cryptography interfaces and shared logic (ML-KEM-768/1024 + AES-GCM-256 hybrid) for any TypeScript project. Provider-agnostic core, usable anywhere — published and maintained by Apislash.","maintainers":[{"name":"jantheon","email":"vonhara@gmail.com"}],"readme":"# @apislash/cryptobox-core\n\nProvider-agnostic, quantum-resistant cryptography interfaces for any TypeScript project — the shared core of [CryptoBox](https://gitlab.com/apislash/libs/client/cryptobox/ts). Framework-agnostic and usable anywhere; published by **Apislash**.\n\nDefines the contracts the platform providers implement: `CryptoProvider`, `KeyProvider`, the algorithm suite policy (ML-KEM-768/1024 + AES-GCM-256 hybrid), and capability detection.\n\n## Install\n\n```bash\nnpm install @apislash/cryptobox-core\n```\n\nYou normally install a platform package — [`@apislash/cryptobox-web`](https://www.npmjs.com/package/@apislash/cryptobox-web), `-node`, or `-native` — which pulls in this core automatically.\n\n## Exports\n\n- Interfaces: `CryptoProvider`, `KeyProvider`, `GenerateKeyOptions`, `GetKeyOptions`, `KeyMeta`, `KeyPersistence`\n- `DEFAULT_SUITE` — default algorithm suite\n- `createCryptoCapabilityMap`, type `CryptoCapabilityMap`\n\nMIT © Apislash\n","readmeFilename":"README.md"}