@sebastienrousseau/crypto-testing 0.0.33 → 0.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -17
- package/package.json +7 -4
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
**The Crypto Service ecosystem**
|
|
34
34
|
|
|
35
|
-
- [The Crypto Service ecosystem](#the-crypto-service-ecosystem) — full
|
|
35
|
+
- [The Crypto Service ecosystem](#the-crypto-service-ecosystem) — full 18-package suite overview
|
|
36
36
|
|
|
37
37
|
**Package reference**
|
|
38
38
|
|
|
@@ -108,22 +108,26 @@ expectSignVerifyRoundTrip("ed25519");
|
|
|
108
108
|
|
|
109
109
|
Crypto Service provides a complete cryptography stack across 14 specialized packages:
|
|
110
110
|
|
|
111
|
-
| Package
|
|
112
|
-
|
|
|
113
|
-
| [`@sebastienrousseau/crypto-api`](
|
|
114
|
-
| [`@sebastienrousseau/crypto-
|
|
115
|
-
| [`@sebastienrousseau/crypto-
|
|
116
|
-
| [`@sebastienrousseau/crypto-
|
|
117
|
-
| [`@sebastienrousseau/crypto-
|
|
118
|
-
| [`@sebastienrousseau/crypto-
|
|
119
|
-
| [`@sebastienrousseau/crypto-
|
|
120
|
-
| [`@sebastienrousseau/crypto-
|
|
121
|
-
| [`@sebastienrousseau/crypto-
|
|
122
|
-
| [`@sebastienrousseau/crypto-
|
|
123
|
-
|
|
|
124
|
-
| [`@sebastienrousseau/crypto-
|
|
125
|
-
| [`@sebastienrousseau/crypto-
|
|
126
|
-
| [`@sebastienrousseau/crypto-
|
|
111
|
+
| Package | Role | Description |
|
|
112
|
+
| :------------------------------------------------------------------------------------------------------------------------------------------------ | :--------------- | :----------------------------------------------------------------------------------------------------------------------------- |
|
|
113
|
+
| [`@sebastienrousseau/crypto-api`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-api) | API Schemas | Shared TypeScript types and utilities for the Crypto Service Suite, defining the canonical API surface. |
|
|
114
|
+
| [`@sebastienrousseau/crypto-benchmarks`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-benchmarks) | Benchmarks | Benchmarks comparing classical and post-quantum cryptography: ops/sec, latency and throughput. |
|
|
115
|
+
| [`@sebastienrousseau/crypto-cbom`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-cbom) | CBOM | Cryptographic Bill of Materials generator and auditor (CycloneDX 1.6, SPDX 3.0). |
|
|
116
|
+
| [`@sebastienrousseau/crypto-cli`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-cli) | Terminal CLI | Command-line interface: hashing, key generation, encryption, signing, HPKE, Argon2id and CBOM scans, with an interactive menu. |
|
|
117
|
+
| [`@sebastienrousseau/crypto-edge`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-edge) | Edge Runtime | Edge-runtime cryptographic operations using the Web Crypto API, optimized for Cloudflare Workers, Vercel Edge, and Deno. |
|
|
118
|
+
| [`@sebastienrousseau/crypto-kms`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-kms) | Cloud KMS | Unified KMS interface: AWS KMS and local providers implemented; GCP, Azure and Vault are stubs. |
|
|
119
|
+
| [`@sebastienrousseau/crypto-lib`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-lib) | Core Library | Core library: post-quantum ML-KEM, ML-DSA and SLH-DSA, plus classical, modern and OpenPGP cryptography for TypeScript. |
|
|
120
|
+
| [`@sebastienrousseau/crypto-lsp`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-lsp) | IDE Analysis | Language server that flags weak and quantum-vulnerable cryptography in the editor, with quick fixes. |
|
|
121
|
+
| [`@sebastienrousseau/crypto-mcp`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-mcp) | AI Agents | Model Context Protocol server exposing cryptography tools to AI assistants and agents. |
|
|
122
|
+
| [`@sebastienrousseau/crypto-middleware`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-middleware) | Middleware | Cryptographic middleware for Express and Fastify: decrypt requests, encrypt responses, verify HMAC signatures and JWTs. |
|
|
123
|
+
| [`@sebastienrousseau/crypto-prisma`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-prisma) | ORM Adapter | Transparent field-level encryption extension for Prisma Client, using XChaCha20-Poly1305. |
|
|
124
|
+
| [`@sebastienrousseau/crypto-react`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-react) | React Hooks | React hooks and context provider for client-side cryptographic operations with zero boilerplate. |
|
|
125
|
+
| [`@sebastienrousseau/crypto-sdk`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-sdk) | Client SDK | A zero-dependency, typed HTTP client for the Crypto Service REST API, with full post-quantum support. |
|
|
126
|
+
| [`@sebastienrousseau/crypto-server`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-server) | HTTP API | A hardened Fastify REST API for cryptographic operations, with rate limiting, OpenAPI schemas, and post-quantum endpoints. |
|
|
127
|
+
| **[`@sebastienrousseau/crypto-testing`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-testing)** _(this package)_ | **Test Support** | **Deterministic keys, fast mocks, and test fixtures for crypto-lib** |
|
|
128
|
+
| [`@sebastienrousseau/crypto-typeorm`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-typeorm) | ORM Adapter | TypeORM column-level encryption with a single decorator, powered by crypto-lib. |
|
|
129
|
+
| [`@sebastienrousseau/crypto-vue`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-vue) | Vue Composables | Vue 3 composables for client-side cryptography |
|
|
130
|
+
| [`@sebastienrousseau/crypto-wasm`](https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-wasm) | Acceleration | Placeholder for a WebAssembly accelerator; no WebAssembly module ships yet. |
|
|
127
131
|
|
|
128
132
|
<p align="right"><a href="#contents">Back to Top</a></p>
|
|
129
133
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sebastienrousseau/crypto-testing",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.35",
|
|
4
|
+
"description": "Test utilities for crypto-lib: deterministic keys, known-answer test vectors, mocks and fixtures for fast, reproducible CI.",
|
|
5
5
|
"author": "Sebastien Rousseau <sebastienrousseau@users.noreply.github.com>",
|
|
6
6
|
"license": "MIT OR Apache-2.0",
|
|
7
7
|
"homepage": "https://github.com/sebastienrousseau/crypto-service/tree/main/packages/crypto-testing",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dist/**/*.d.ts.map"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@sebastienrousseau/crypto-lib": "0.0.
|
|
37
|
+
"@sebastienrousseau/crypto-lib": "0.0.35"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@sebastienrousseau/mocha-config": "^0.0.7",
|
|
@@ -52,10 +52,13 @@
|
|
|
52
52
|
"typescript": "~5.9.3"
|
|
53
53
|
},
|
|
54
54
|
"keywords": [
|
|
55
|
-
"
|
|
55
|
+
"testing",
|
|
56
56
|
"test-fixtures",
|
|
57
|
+
"test-vectors",
|
|
58
|
+
"known-answer-tests",
|
|
57
59
|
"deterministic-keys",
|
|
58
60
|
"mock-crypto",
|
|
61
|
+
"cryptography",
|
|
59
62
|
"crypto-lib"
|
|
60
63
|
],
|
|
61
64
|
"publishConfig": {
|