@shieldfive/crypto 1.0.0-alpha.11
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/CHANGELOG.md +228 -0
- package/LICENSE +201 -0
- package/README.md +275 -0
- package/SECURITY.md +130 -0
- package/dist/format/header.d.ts +73 -0
- package/dist/format/header.d.ts.map +1 -0
- package/dist/format/header.js +230 -0
- package/dist/format/header.js.map +1 -0
- package/dist/identity/index.d.ts +119 -0
- package/dist/identity/index.d.ts.map +1 -0
- package/dist/identity/index.js +217 -0
- package/dist/identity/index.js.map +1 -0
- package/dist/identity/sign.d.ts +92 -0
- package/dist/identity/sign.d.ts.map +1 -0
- package/dist/identity/sign.js +182 -0
- package/dist/identity/sign.js.map +1 -0
- package/dist/index.d.ts +58 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +146 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/encoding.d.ts +33 -0
- package/dist/internal/encoding.d.ts.map +1 -0
- package/dist/internal/encoding.js +135 -0
- package/dist/internal/encoding.js.map +1 -0
- package/dist/internal/hkdf.d.ts +14 -0
- package/dist/internal/hkdf.d.ts.map +1 -0
- package/dist/internal/hkdf.js +27 -0
- package/dist/internal/hkdf.js.map +1 -0
- package/dist/internal/hmac.d.ts +9 -0
- package/dist/internal/hmac.d.ts.map +1 -0
- package/dist/internal/hmac.js +18 -0
- package/dist/internal/hmac.js.map +1 -0
- package/dist/internal/runtime.d.ts +29 -0
- package/dist/internal/runtime.d.ts.map +1 -0
- package/dist/internal/runtime.js +67 -0
- package/dist/internal/runtime.js.map +1 -0
- package/dist/internal/sodium.d.ts +12 -0
- package/dist/internal/sodium.d.ts.map +1 -0
- package/dist/internal/sodium.js +34 -0
- package/dist/internal/sodium.js.map +1 -0
- package/dist/internal/types.d.ts +98 -0
- package/dist/internal/types.d.ts.map +1 -0
- package/dist/internal/types.js +70 -0
- package/dist/internal/types.js.map +1 -0
- package/dist/kdf/argon2id.d.ts +72 -0
- package/dist/kdf/argon2id.d.ts.map +1 -0
- package/dist/kdf/argon2id.js +98 -0
- package/dist/kdf/argon2id.js.map +1 -0
- package/dist/migration/v0-bridge.d.ts +94 -0
- package/dist/migration/v0-bridge.d.ts.map +1 -0
- package/dist/migration/v0-bridge.js +203 -0
- package/dist/migration/v0-bridge.js.map +1 -0
- package/dist/streams/aes-gcm-v1.d.ts +144 -0
- package/dist/streams/aes-gcm-v1.d.ts.map +1 -0
- package/dist/streams/aes-gcm-v1.js +456 -0
- package/dist/streams/aes-gcm-v1.js.map +1 -0
- package/dist/streams/pq-hybrid-v1.d.ts +219 -0
- package/dist/streams/pq-hybrid-v1.d.ts.map +1 -0
- package/dist/streams/pq-hybrid-v1.js +473 -0
- package/dist/streams/pq-hybrid-v1.js.map +1 -0
- package/dist/suites/aes-gcm-v0/api.d.ts +48 -0
- package/dist/suites/aes-gcm-v0/api.d.ts.map +1 -0
- package/dist/suites/aes-gcm-v0/api.js +110 -0
- package/dist/suites/aes-gcm-v0/api.js.map +1 -0
- package/dist/suites/aes-gcm-v1/api.d.ts +54 -0
- package/dist/suites/aes-gcm-v1/api.d.ts.map +1 -0
- package/dist/suites/aes-gcm-v1/api.js +181 -0
- package/dist/suites/aes-gcm-v1/api.js.map +1 -0
- package/dist/suites/aes-gcm-v1/index.d.ts +59 -0
- package/dist/suites/aes-gcm-v1/index.d.ts.map +1 -0
- package/dist/suites/aes-gcm-v1/index.js +177 -0
- package/dist/suites/aes-gcm-v1/index.js.map +1 -0
- package/dist/suites/aes-gcm-v2/api.d.ts +44 -0
- package/dist/suites/aes-gcm-v2/api.d.ts.map +1 -0
- package/dist/suites/aes-gcm-v2/api.js +162 -0
- package/dist/suites/aes-gcm-v2/api.js.map +1 -0
- package/dist/suites/aes-gcm-v2/index.d.ts +63 -0
- package/dist/suites/aes-gcm-v2/index.d.ts.map +1 -0
- package/dist/suites/aes-gcm-v2/index.js +193 -0
- package/dist/suites/aes-gcm-v2/index.js.map +1 -0
- package/dist/suites/pq-hybrid-v1/api.d.ts +67 -0
- package/dist/suites/pq-hybrid-v1/api.d.ts.map +1 -0
- package/dist/suites/pq-hybrid-v1/api.js +190 -0
- package/dist/suites/pq-hybrid-v1/api.js.map +1 -0
- package/dist/suites/pq-hybrid-v1/index.d.ts +101 -0
- package/dist/suites/pq-hybrid-v1/index.d.ts.map +1 -0
- package/dist/suites/pq-hybrid-v1/index.js +225 -0
- package/dist/suites/pq-hybrid-v1/index.js.map +1 -0
- package/dist/suites/xchacha-v1/api.d.ts +29 -0
- package/dist/suites/xchacha-v1/api.d.ts.map +1 -0
- package/dist/suites/xchacha-v1/api.js +154 -0
- package/dist/suites/xchacha-v1/api.js.map +1 -0
- package/dist/suites/xchacha-v1/index.d.ts +50 -0
- package/dist/suites/xchacha-v1/index.d.ts.map +1 -0
- package/dist/suites/xchacha-v1/index.js +133 -0
- package/dist/suites/xchacha-v1/index.js.map +1 -0
- package/package.json +124 -0
- package/spec/format-v0.md +81 -0
- package/spec/format-v1.md +400 -0
- package/spec/key-derivation.md +167 -0
- package/spec/threat-model.md +242 -0
- package/src/format/header.ts +316 -0
- package/src/identity/index.ts +371 -0
- package/src/identity/sign.ts +221 -0
- package/src/index.ts +224 -0
- package/src/internal/encoding.ts +152 -0
- package/src/internal/hkdf.ts +47 -0
- package/src/internal/hmac.ts +33 -0
- package/src/internal/runtime.ts +80 -0
- package/src/internal/sodium.ts +38 -0
- package/src/internal/types.ts +134 -0
- package/src/kdf/argon2id.ts +165 -0
- package/src/migration/v0-bridge.ts +347 -0
- package/src/streams/aes-gcm-v1.ts +647 -0
- package/src/streams/pq-hybrid-v1.ts +722 -0
- package/src/suites/aes-gcm-v0/api.ts +155 -0
- package/src/suites/aes-gcm-v1/api.ts +292 -0
- package/src/suites/aes-gcm-v1/index.ts +269 -0
- package/src/suites/aes-gcm-v2/api.ts +268 -0
- package/src/suites/aes-gcm-v2/index.ts +289 -0
- package/src/suites/pq-hybrid-v1/api.ts +299 -0
- package/src/suites/pq-hybrid-v1/index.ts +343 -0
- package/src/suites/xchacha-v1/api.ts +254 -0
- package/src/suites/xchacha-v1/index.ts +213 -0
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Streaming encrypt/decrypt for the v1 wire format under suite 0x03
|
|
3
|
+
* (PQ-hybrid XChaCha20-Poly1305 + ML-KEM-1024).
|
|
4
|
+
*
|
|
5
|
+
* The whole-blob APIs in `suites/<name>/api.ts` materialize entire files in
|
|
6
|
+
* memory. That's fine for small files; for multi-gigabyte files on a
|
|
7
|
+
* mobile device it isn't.
|
|
8
|
+
*
|
|
9
|
+
* This module exposes a WHATWG TransformStream factory that ingests
|
|
10
|
+
* plaintext (or ciphertext) chunks from any ReadableStream and emits the
|
|
11
|
+
* other side, without ever holding more than one chunk-plus-header in
|
|
12
|
+
* memory at once.
|
|
13
|
+
*
|
|
14
|
+
* Currently implemented:
|
|
15
|
+
* - Suite 0x03 (pq-hybrid-xchacha-mlkem1024-v1) encrypt
|
|
16
|
+
* - Suite 0x03 (pq-hybrid-xchacha-mlkem1024-v1) decrypt
|
|
17
|
+
*
|
|
18
|
+
* Differences from the AES-GCM-v1 streaming module: the encrypt factory
|
|
19
|
+
* requires the caller to pre-run `encapsulateForRecipient` and pass the
|
|
20
|
+
* resulting `{combinedKey, suitePayload, fileId}` — the PQ suite cannot
|
|
21
|
+
* fabricate its own content material the way AES can, because it depends
|
|
22
|
+
* on the recipient's ML-KEM public key. The async helper
|
|
23
|
+
* `encryptStreamPqHybridV1` bundles encapsulation + stream construction.
|
|
24
|
+
* On the decrypt side, the stream itself performs PQ decapsulation as
|
|
25
|
+
* soon as the header has been parsed, then proceeds identically to the
|
|
26
|
+
* AES path.
|
|
27
|
+
*/
|
|
28
|
+
import { type DecryptionMetadata } from './aes-gcm-v1.js';
|
|
29
|
+
export type { DecryptionMetadata, VerifiedSignature } from './aes-gcm-v1.js';
|
|
30
|
+
export interface PqHybridV1EncryptStreamOptions {
|
|
31
|
+
/** Total plaintext byte count. Required because the header carries it. */
|
|
32
|
+
plaintextSize: number;
|
|
33
|
+
/** Plaintext bytes per chunk. Default 4 MiB. */
|
|
34
|
+
chunkSize?: number;
|
|
35
|
+
/**
|
|
36
|
+
* Combined content key from `encapsulateForRecipient`. 32 bytes. Used
|
|
37
|
+
* both for header MAC and for chunk AEAD.
|
|
38
|
+
*
|
|
39
|
+
* SECURITY: Possession of `combinedKey` grants permanent decryption
|
|
40
|
+
* capability for any file whose header was produced with it. Treat
|
|
41
|
+
* as cryptographic secret material: hold only in memory for the
|
|
42
|
+
* duration of the operation, do not persist to disk or storage, do
|
|
43
|
+
* not log, do not transmit. The only safe way to reproduce it on
|
|
44
|
+
* another machine is to re-encapsulate via the recipient's ML-KEM
|
|
45
|
+
* public key.
|
|
46
|
+
*/
|
|
47
|
+
combinedKey: Uint8Array;
|
|
48
|
+
/** 16-byte file_id used as HKDF salt in encapsulation and key derivation. */
|
|
49
|
+
fileId: Uint8Array;
|
|
50
|
+
/**
|
|
51
|
+
* Suite payload produced by `encapsulateForRecipient` (1664 bytes —
|
|
52
|
+
* 1568-byte ML-KEM ciphertext + 72-byte wrapped classical share + 24-byte
|
|
53
|
+
* classical nonce).
|
|
54
|
+
*/
|
|
55
|
+
suitePayload: Uint8Array;
|
|
56
|
+
/**
|
|
57
|
+
* Optional 32-byte Ed25519 secret seed. When provided, the stream
|
|
58
|
+
* appends a signature block over `header_unauthenticated_bytes ||
|
|
59
|
+
* concat(chunk_macs)` after the final chunk. When omitted, no block
|
|
60
|
+
* is emitted and the file decrypts as unsigned (legacy behavior).
|
|
61
|
+
*/
|
|
62
|
+
ed25519SecretKey?: Uint8Array;
|
|
63
|
+
}
|
|
64
|
+
export interface PqHybridV1EncryptStreamResult {
|
|
65
|
+
/** TransformStream<Uint8Array, Uint8Array> emitting the v1 wire format. */
|
|
66
|
+
stream: TransformStream<Uint8Array, Uint8Array>;
|
|
67
|
+
/**
|
|
68
|
+
* SECURITY: Possession of `combinedKey` grants permanent decryption
|
|
69
|
+
* capability for any file whose header was produced with it. Treat
|
|
70
|
+
* as cryptographic secret material: hold only in memory for the
|
|
71
|
+
* duration of the operation, do not persist to disk or storage, do
|
|
72
|
+
* not log, do not transmit. The only safe way to reproduce it on
|
|
73
|
+
* another machine is to re-encapsulate via the recipient's ML-KEM
|
|
74
|
+
* public key.
|
|
75
|
+
*
|
|
76
|
+
* Echoed back for caller convenience.
|
|
77
|
+
*/
|
|
78
|
+
combinedKey: Uint8Array;
|
|
79
|
+
/** The file_id used (echoed back for caller convenience). */
|
|
80
|
+
fileId: Uint8Array;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Build a TransformStream that encrypts plaintext into v1 wire-format
|
|
84
|
+
* ciphertext on the fly under suite 0x03. The stream emits the header
|
|
85
|
+
* first, then each chunk as it arrives.
|
|
86
|
+
*
|
|
87
|
+
* The caller MUST pass `plaintextSize` because the header records it.
|
|
88
|
+
* If the caller doesn't know the size up front, they must accumulate
|
|
89
|
+
* the plaintext into a buffer first — there is no way to write a
|
|
90
|
+
* self-describing header otherwise.
|
|
91
|
+
*
|
|
92
|
+
* Unlike the AES-GCM-v1 factory, the PQ-hybrid factory cannot manufacture
|
|
93
|
+
* its own key material — the combined key, file_id, and suite payload
|
|
94
|
+
* are all outputs of `encapsulateForRecipient`. Use the
|
|
95
|
+
* `encryptStreamPqHybridV1` helper when you'd rather pass a recipient
|
|
96
|
+
* public key directly.
|
|
97
|
+
*/
|
|
98
|
+
export declare function createPqHybridV1EncryptStream(options: PqHybridV1EncryptStreamOptions): PqHybridV1EncryptStreamResult;
|
|
99
|
+
/**
|
|
100
|
+
* Inputs for {@link createPqHybridV1DecryptStream}. Either provide the
|
|
101
|
+
* KEM material (`recipientSecretKey` + `envelopeKey`) so the stream can
|
|
102
|
+
* derive the combined key itself, OR provide the already-derived
|
|
103
|
+
* `combinedKey` directly. The latter is what share-link recipients use:
|
|
104
|
+
* they hold a 32-byte K (wrapped under the share-link password) and
|
|
105
|
+
* never see the ML-KEM secret key.
|
|
106
|
+
*
|
|
107
|
+
* Mixing both modes is not supported — `combinedKey` always wins. The
|
|
108
|
+
* caller is responsible for picking one path.
|
|
109
|
+
*/
|
|
110
|
+
export type PqHybridV1DecryptStreamOptions = {
|
|
111
|
+
/** Recipient's ML-KEM-1024 secret key (3168 bytes). */
|
|
112
|
+
recipientSecretKey: Uint8Array;
|
|
113
|
+
/** Classical envelope key (32 bytes). */
|
|
114
|
+
envelopeKey: Uint8Array;
|
|
115
|
+
combinedKey?: undefined;
|
|
116
|
+
/**
|
|
117
|
+
* If provided, a trailing signature block (if present) is verified
|
|
118
|
+
* against this Ed25519 public key. See `AesGcmV1DecryptStreamOptions`
|
|
119
|
+
* for the verification semantics — they are identical here.
|
|
120
|
+
*/
|
|
121
|
+
expectedSignerPublicKey?: Uint8Array;
|
|
122
|
+
} | {
|
|
123
|
+
/**
|
|
124
|
+
* Pre-derived 32-byte combined key K. When provided, the stream
|
|
125
|
+
* skips ML-KEM decapsulation entirely and uses K for header MAC
|
|
126
|
+
* verification + per-chunk AEAD. Header MAC validation still
|
|
127
|
+
* cryptographically gates the rest of the stream, so a wrong K
|
|
128
|
+
* fails fast.
|
|
129
|
+
*
|
|
130
|
+
* SECURITY: Possession of `combinedKey` grants permanent decryption
|
|
131
|
+
* capability for any file whose header was produced with it. Treat
|
|
132
|
+
* as cryptographic secret material: hold only in memory for the
|
|
133
|
+
* duration of the operation, do not persist to disk or storage, do
|
|
134
|
+
* not log, do not transmit. The only safe way to reproduce it on
|
|
135
|
+
* another machine is to re-encapsulate via the recipient's ML-KEM
|
|
136
|
+
* public key.
|
|
137
|
+
*/
|
|
138
|
+
combinedKey: Uint8Array;
|
|
139
|
+
recipientSecretKey?: undefined;
|
|
140
|
+
envelopeKey?: undefined;
|
|
141
|
+
/** See sibling variant. */
|
|
142
|
+
expectedSignerPublicKey?: Uint8Array;
|
|
143
|
+
};
|
|
144
|
+
export interface PqHybridV1DecryptStreamResult {
|
|
145
|
+
stream: TransformStream<Uint8Array, Uint8Array>;
|
|
146
|
+
metadata: Promise<DecryptionMetadata>;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Build a TransformStream that decrypts a v1 ciphertext stream produced
|
|
150
|
+
* under suite 0x03 into plaintext. Unlike the whole-blob decryptor, this
|
|
151
|
+
* version processes input incrementally — useful for very large files or
|
|
152
|
+
* when ciphertext arrives chunked over the network.
|
|
153
|
+
*
|
|
154
|
+
* Two key-input modes:
|
|
155
|
+
* - KEM mode (`recipientSecretKey` + `envelopeKey`): the stream runs
|
|
156
|
+
* ML-KEM decapsulation once, the moment the header has been
|
|
157
|
+
* buffered, then proceeds identically to the AES-GCM-v1 decrypt
|
|
158
|
+
* stream.
|
|
159
|
+
* - Combined-key mode (`combinedKey`): skips decapsulation entirely
|
|
160
|
+
* and uses the supplied K for header MAC verification + chunk AEAD.
|
|
161
|
+
* Intended for share-link recipients who hold a wrapped K but no
|
|
162
|
+
* ML-KEM secret.
|
|
163
|
+
*/
|
|
164
|
+
export declare function createPqHybridV1DecryptStream(options: PqHybridV1DecryptStreamOptions): PqHybridV1DecryptStreamResult;
|
|
165
|
+
export interface EncryptStreamPqHybridV1Options {
|
|
166
|
+
/** Recipient's ML-KEM-1024 public key (1568 bytes) */
|
|
167
|
+
recipientPublicKey: Uint8Array;
|
|
168
|
+
/** Classical envelope key (32 bytes) */
|
|
169
|
+
envelopeKey: Uint8Array;
|
|
170
|
+
/** Total plaintext byte count. Required because the header carries it. */
|
|
171
|
+
plaintextSize: number;
|
|
172
|
+
/** Plaintext bytes per chunk. Default 4 MiB. */
|
|
173
|
+
chunkSize?: number;
|
|
174
|
+
/** Pre-existing 16-byte file_id, or generated if omitted. */
|
|
175
|
+
fileId?: Uint8Array;
|
|
176
|
+
/**
|
|
177
|
+
* Optional 32-byte Ed25519 secret seed for sender attribution. When
|
|
178
|
+
* provided, a signature block is appended after the final chunk.
|
|
179
|
+
*/
|
|
180
|
+
ed25519SecretKey?: Uint8Array;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Pipe a ReadableStream<Uint8Array> through the PQ-hybrid-v1 encrypt
|
|
184
|
+
* transform and return the resulting ReadableStream alongside the
|
|
185
|
+
* derived material the caller will need: the 16-byte file_id (safe
|
|
186
|
+
* to persist with the ciphertext), the suite payload (safe to
|
|
187
|
+
* persist with the ciphertext; required for later decapsulation),
|
|
188
|
+
* and the 32-byte combined key.
|
|
189
|
+
*
|
|
190
|
+
* SECURITY: The returned `combinedKey` grants permanent decryption
|
|
191
|
+
* capability for any file whose header was produced with it. Treat
|
|
192
|
+
* as cryptographic secret material: hold only in memory for the
|
|
193
|
+
* duration of the operation, do not persist to disk or storage, do
|
|
194
|
+
* not log, do not transmit. The only safe way to reproduce it on
|
|
195
|
+
* another machine is to re-encapsulate via the recipient's ML-KEM
|
|
196
|
+
* public key.
|
|
197
|
+
*
|
|
198
|
+
* This helper is async because PQ encapsulation requires libsodium
|
|
199
|
+
* init.
|
|
200
|
+
*/
|
|
201
|
+
export declare function encryptStreamPqHybridV1(source: ReadableStream<Uint8Array>, options: EncryptStreamPqHybridV1Options): Promise<{
|
|
202
|
+
ciphertext: ReadableStream<Uint8Array>;
|
|
203
|
+
combinedKey: Uint8Array;
|
|
204
|
+
fileId: Uint8Array;
|
|
205
|
+
suitePayload: Uint8Array;
|
|
206
|
+
}>;
|
|
207
|
+
/**
|
|
208
|
+
* Pipe a ReadableStream<Uint8Array> through the PQ-hybrid-v1 decrypt
|
|
209
|
+
* transform and return the resulting plaintext ReadableStream + a
|
|
210
|
+
* `metadata` Promise carrying the parsed signature block (or
|
|
211
|
+
* `signature: null` for unsigned / legacy files). See
|
|
212
|
+
* {@link PqHybridV1DecryptStreamOptions} for the two key-input modes
|
|
213
|
+
* (KEM secret + envelope vs. pre-derived combined key K).
|
|
214
|
+
*/
|
|
215
|
+
export declare function decryptStreamPqHybridV1(source: ReadableStream<Uint8Array>, options: PqHybridV1DecryptStreamOptions): {
|
|
216
|
+
plaintext: ReadableStream<Uint8Array>;
|
|
217
|
+
metadata: Promise<DecryptionMetadata>;
|
|
218
|
+
};
|
|
219
|
+
//# sourceMappingURL=pq-hybrid-v1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pq-hybrid-v1.d.ts","sourceRoot":"","sources":["../../src/streams/pq-hybrid-v1.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAiCH,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,iBAAiB,CAAA;AAExB,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAQ5E,MAAM,WAAW,8BAA8B;IAC7C,0EAA0E;IAC1E,aAAa,EAAE,MAAM,CAAA;IACrB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;;;;;;;;OAWG;IACH,WAAW,EAAE,UAAU,CAAA;IACvB,6EAA6E;IAC7E,MAAM,EAAE,UAAU,CAAA;IAClB;;;;OAIG;IACH,YAAY,EAAE,UAAU,CAAA;IACxB;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,UAAU,CAAA;CAC9B;AAED,MAAM,WAAW,6BAA6B;IAC5C,2EAA2E;IAC3E,MAAM,EAAE,eAAe,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;IAC/C;;;;;;;;;;OAUG;IACH,WAAW,EAAE,UAAU,CAAA;IACvB,6DAA6D;IAC7D,MAAM,EAAE,UAAU,CAAA;CACnB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,8BAA8B,GACtC,6BAA6B,CA2K/B;AAMD;;;;;;;;;;GAUG;AACH,MAAM,MAAM,8BAA8B,GACtC;IACE,uDAAuD;IACvD,kBAAkB,EAAE,UAAU,CAAA;IAC9B,yCAAyC;IACzC,WAAW,EAAE,UAAU,CAAA;IACvB,WAAW,CAAC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