@psavelis/enterprise-blockchain 1.1.0 → 1.1.1
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 +15 -2
- package/package.json +9 -7
package/README.md
CHANGED
|
@@ -1,16 +1,29 @@
|
|
|
1
1
|
# @psavelis/enterprise-blockchain
|
|
2
2
|
|
|
3
|
-
Production-grade
|
|
3
|
+
Production-grade TypeScript modules for recursive STARK settlement, post-quantum cryptography (ML-KEM/ML-DSA), MPC, HSM, and multi-rail (Solana + Bitcoin + fiat) infrastructure.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@psavelis/enterprise-blockchain)
|
|
6
6
|
[](../../LICENSE)
|
|
7
7
|
|
|
8
|
-
##
|
|
8
|
+
## Install in 10 Seconds
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
11
|
npm install @psavelis/enterprise-blockchain
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
```typescript
|
|
15
|
+
import { KyberKem } from "@psavelis/enterprise-blockchain/mpc";
|
|
16
|
+
|
|
17
|
+
// Post-quantum key exchange (NIST FIPS 203)
|
|
18
|
+
const kem = new KyberKem();
|
|
19
|
+
const { publicKey, secretKey } = kem.generateKeyPair("ml-kem-768");
|
|
20
|
+
const { ciphertext, sharedSecret } = kem.encapsulate(publicKey, "ml-kem-768");
|
|
21
|
+
const decrypted = kem.decapsulate(ciphertext, secretKey, "ml-kem-768");
|
|
22
|
+
// sharedSecret === decrypted ✓
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
14
27
|
## Quick Start
|
|
15
28
|
|
|
16
29
|
### Post-Quantum Key Exchange (ML-KEM-768)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@psavelis/enterprise-blockchain",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Production-grade
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "Production-grade TypeScript modules for recursive STARK settlement, post-quantum cryptography (ML-KEM/ML-DSA), MPC, HSM, and multi-rail (Solana + Bitcoin + fiat) infrastructure.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"author": "Paulo Savelis",
|
|
@@ -13,14 +13,16 @@
|
|
|
13
13
|
"keywords": [
|
|
14
14
|
"enterprise-blockchain",
|
|
15
15
|
"stark",
|
|
16
|
-
"
|
|
17
|
-
"hsm",
|
|
16
|
+
"stone-prover",
|
|
18
17
|
"post-quantum",
|
|
19
18
|
"ml-kem",
|
|
20
19
|
"ml-dsa",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
20
|
+
"mpc",
|
|
21
|
+
"hsm",
|
|
22
|
+
"multi-rail-settlement",
|
|
23
|
+
"recursive-stark",
|
|
24
|
+
"quantum-safe",
|
|
25
|
+
"typescript-blockchain"
|
|
24
26
|
],
|
|
25
27
|
"engines": {
|
|
26
28
|
"node": ">=22.14.0"
|