@muhkoo/connect 0.10.11-alpha.0 → 0.10.12-alpha.0

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.
@@ -5022,6 +5022,29 @@ function fromBase64(b64) {
5022
5022
  * seed) while moving credential entry onto the Muhkoo origin. The envelope is
5023
5023
  * versioned so a future per-app-key handoff (v2) can swap in without a protocol
5024
5024
  * change.
5025
+ *
5026
+ * ## v2 — device pairing (TV / no-redirect handoff)
5027
+ *
5028
+ * v1's K_t rides in the redirect URL *fragment*, which works only because the
5029
+ * receiving app is a browser page that can read `location.hash`. A TV app has
5030
+ * no redirect to receive: it polls. So v2 keeps the *entire* v1 shape — the
5031
+ * server relays a sealed envelope it cannot read — and replaces only the key
5032
+ * agreement:
5033
+ *
5034
+ * - the TV generates an ephemeral P-256 ECDH keypair in memory and publishes
5035
+ * the public half ({@link generateDevicePairingKeypair});
5036
+ * - the hosted page (the component that already holds the unlocked seed and
5037
+ * already owns sealing) seals *to that public key* with a fresh ephemeral
5038
+ * keypair of its own ({@link sealSeedToDevice}) — ECDH → HKDF-SHA256 →
5039
+ * AES-256-GCM;
5040
+ * - the TV recovers the seed with its private key
5041
+ * ({@link unsealSeedFromDevice}).
5042
+ *
5043
+ * The server stores and relays the v2 envelope byte-for-byte, exactly as it
5044
+ * does for v1, and can read neither. The one thing ECDH cannot supply is proof
5045
+ * that the public key the hosted page sealed to is *the TV's* rather than an
5046
+ * attacker's — that is what {@link pairingVerificationCode} is for, and it is
5047
+ * the only MITM defence in the flow (see the entropy note on that function).
5025
5048
  */
5026
5049
  const TE = new TextEncoder();
5027
5050
  const TD = new TextDecoder();
@@ -5047,6 +5070,236 @@ async function unsealSeed(sealedKeys, fragmentKey) {
5047
5070
  const seed = await crypto.subtle.decrypt({ name: "AES-GCM", iv: fromBase64(envelope.iv) }, key, fromBase64(envelope.ct));
5048
5071
  return new Uint8Array(seed);
5049
5072
  }
5073
+ // ---- v2: ECDH device pairing ----------------------------------------------
5074
+ //
5075
+ // Deliberately a SEPARATE unseal entry point rather than one `unsealSeed` that
5076
+ // dispatches on `envelope.v`. The two versions do not just differ in envelope
5077
+ // shape — their *second argument* is a different kind of thing entirely (v1: a
5078
+ // base64url string plucked out of a URL fragment; v2: a non-extractable
5079
+ // `CryptoKey`). Overloading one function on a `string | CryptoKey` union would
5080
+ // buy nothing at the call sites (each caller statically knows which flow it is
5081
+ // in) while adding a narrowing branch to the v1 path, which is live in
5082
+ // production hosted auth. Each function still validates `v` and rejects the
5083
+ // other version's envelope, so a mis-routed envelope fails loudly rather than
5084
+ // being interpreted under the wrong scheme.
5085
+ /** P-256 curve parameters for the pairing ECDH. */
5086
+ const PAIRING_CURVE = { name: "ECDH", namedCurve: "P-256" };
5087
+ /**
5088
+ * HKDF `info` for the v2 seal. Versioned and domain-separated: v1 derives no
5089
+ * key at all (K_t is raw random), so no v1 key can ever collide with this, and
5090
+ * a future v3 must pick a new label rather than reuse this one.
5091
+ */
5092
+ const HKDF_INFO_V2 = "muhkoo/hosted-handoff/v2/device-seal";
5093
+ /** Domain separator for {@link pairingVerificationCode} — distinct from the seal KDF. */
5094
+ const PAIRING_CODE_DOMAIN = "muhkoo/hosted-handoff/v2/pairing-code";
5095
+ /**
5096
+ * Alphabet for the pairing verification code: 30 symbols, every confusable pair
5097
+ * removed in BOTH directions — no `0`/`O`, no `1`/`I`/`L`, and no `U` (which is
5098
+ * read as `V` on the low-resolution, far-viewed type a TV renders). Because the
5099
+ * user compares this string across two screens by eye, unambiguity beats the
5100
+ * convenience of a power-of-two alphabet; the derivation below rejection-samples
5101
+ * to avoid the modulo bias that costs us.
5102
+ */
5103
+ const PAIRING_CODE_ALPHABET = "ABCDEFGHJKMNPQRSTVWXYZ23456789";
5104
+ /** Length of the pairing verification code, in characters. 30^8 ≈ 39.3 bits. */
5105
+ const PAIRING_CODE_LENGTH = 8;
5106
+ /**
5107
+ * PBKDF2 iterations for the verification code. This is NOT protecting a
5108
+ * password — it is a deliberate work factor on an attacker precomputing codes.
5109
+ * See {@link pairingVerificationCode}.
5110
+ */
5111
+ const PAIRING_CODE_ITERATIONS = 200_000;
5112
+ /**
5113
+ * (Device side) Generate the ephemeral P-256 ECDH keypair for one pairing
5114
+ * attempt. Call this once per attempt and throw it away when the attempt ends —
5115
+ * reusing a keypair across attempts would let an old, observed ciphertext be
5116
+ * decrypted by whoever later obtains the key.
5117
+ */
5118
+ async function generateDevicePairingKeypair() {
5119
+ const pair = (await crypto.subtle.generateKey(PAIRING_CURVE, false, ["deriveBits"]));
5120
+ const raw = new Uint8Array(await crypto.subtle.exportKey("raw", pair.publicKey));
5121
+ return { publicKeyB64: toBase64(raw), privateKey: pair.privateKey };
5122
+ }
5123
+ /**
5124
+ * (Hosted-page side) Seal the master seed *to a device's* pairing public key.
5125
+ *
5126
+ * A fresh ephemeral keypair is generated per call and its public half is
5127
+ * carried in the envelope (`epk`), so sealing the same seed to the same device
5128
+ * twice yields unrelated ciphertext — and the sealer retains nothing that could
5129
+ * later reopen the envelope.
5130
+ *
5131
+ * Returns the v2 `sealedKeys` string, which slots into exactly the same server
5132
+ * field as v1: relayed verbatim, never read.
5133
+ */
5134
+ async function sealSeedToDevice(seed, devicePublicKeyB64) {
5135
+ const devicePubRaw = decodePairingPublicKey(devicePublicKeyB64);
5136
+ const devicePub = await importPairingPublicKey(devicePubRaw);
5137
+ const ephemeral = (await crypto.subtle.generateKey(PAIRING_CURVE, false, ["deriveBits"]));
5138
+ const epkRaw = new Uint8Array(await crypto.subtle.exportKey("raw", ephemeral.publicKey));
5139
+ const key = await deriveDeviceSealKey(ephemeral.privateKey, devicePub, epkRaw, devicePubRaw, ["encrypt"]);
5140
+ const iv = crypto.getRandomValues(new Uint8Array(12));
5141
+ const ct = new Uint8Array(await crypto.subtle.encrypt({ name: "AES-GCM", iv: iv }, key, seed));
5142
+ const envelope = { v: 2, epk: toBase64(epkRaw), iv: toBase64(iv), ct: toBase64(ct) };
5143
+ return toBase64(TE.encode(JSON.stringify(envelope)));
5144
+ }
5145
+ /**
5146
+ * (Device side) Recover the master seed from a v2 envelope using the ephemeral
5147
+ * private key from {@link generateDevicePairingKeypair}.
5148
+ *
5149
+ * Throws on any tamper: a substituted `epk` yields a different shared secret
5150
+ * (or fails point validation outright), and any edit to `iv`/`ct` fails the
5151
+ * AES-GCM tag. There is no path that returns partially-authenticated bytes.
5152
+ *
5153
+ * `devicePublicKeyB64` is the caller's OWN public half (from
5154
+ * {@link generateDevicePairingKeypair}). It is required, not optional, because
5155
+ * it is mixed into the KDF — see {@link deriveDeviceSealKey} for why binding the
5156
+ * recipient matters. A device always holds both halves, so this costs nothing.
5157
+ */
5158
+ async function unsealSeedFromDevice(sealedKeys, privateKey, devicePublicKeyB64) {
5159
+ const envelope = JSON.parse(TD.decode(fromBase64Loose(sealedKeys)));
5160
+ if (envelope.v !== 2)
5161
+ throw new Error(`Unsupported device-handoff envelope version ${envelope.v}`);
5162
+ const devicePubRaw = decodePairingPublicKey(devicePublicKeyB64);
5163
+ const epkRaw = decodePairingPublicKey(envelope.epk);
5164
+ const epk = await importPairingPublicKey(epkRaw);
5165
+ const key = await deriveDeviceSealKey(privateKey, epk, epkRaw, devicePubRaw, ["decrypt"]);
5166
+ const seed = await crypto.subtle.decrypt({ name: "AES-GCM", iv: fromBase64Loose(envelope.iv) }, key, fromBase64Loose(envelope.ct));
5167
+ return new Uint8Array(seed);
5168
+ }
5169
+ /**
5170
+ * Short code derived deterministically from the device's pairing public key,
5171
+ * displayed on BOTH the TV and the approving browser so the human can confirm
5172
+ * they match before approving.
5173
+ *
5174
+ * ## What this is worth (be honest about it)
5175
+ *
5176
+ * ~39.3 bits (30^8), rendered in an unambiguous 30-symbol alphabet and grouped
5177
+ * as `XXXX-XXXX` for comparison. Alongside the recipient-key binding in
5178
+ * {@link deriveDeviceSealKey}, this is what stops a substituted device key: the
5179
+ * KDF rejects a *negated* key, and this code is what a human uses to reject a
5180
+ * wholly *attacker-generated* one, which the crypto cannot detect on its own —
5181
+ * ECDH proves nothing about WHOSE public key it is.
5182
+ *
5183
+ * Two attacks, and what each actually costs:
5184
+ *
5185
+ * 1. **Online grind.** Generate keypairs until one's code equals the honest
5186
+ * TV's. ~2^39 trials. Naively that reads as "keygen + hash", but a real
5187
+ * attacker never generates keys: walking `P_{i+1} = P_i + G` while tracking
5188
+ * `d_i = d_0 + i` makes each trial one point-add plus one derivation. With
5189
+ * a plain hash that is well under a core-day — which is why this uses
5190
+ * PBKDF2-SHA256 at {@link PAIRING_CODE_ITERATIONS} iterations instead. The
5191
+ * work factor applies per trial, pushing the same grind to the order of
5192
+ * 10^5 core-days. The target is also only learned when pairing starts, so
5193
+ * the grind is online against the pairing TTL (keep it minutes).
5194
+ * 2. **Precomputed table.** The reason this is not a plain hash. A table over
5195
+ * candidate keys is computed once and reused forever; with SHA-256 that is
5196
+ * cheap enough to be the preferred attack. The iteration count multiplies
5197
+ * the table's build cost by the same 2 * 10^5.
5198
+ *
5199
+ * Neither is a proof of security, and an adversary with ASIC-scale hardware
5200
+ * changes these numbers. If the margin is ever judged insufficient, raise
5201
+ * {@link PAIRING_CODE_LENGTH} — 10 characters buys ~49 bits for two more
5202
+ * characters of human comparison, and is display-only: it does not touch the
5203
+ * envelope or the wire format.
5204
+ *
5205
+ * The cost is paid once per pairing, on two idle devices, so ~200k iterations
5206
+ * is imperceptible here in a way it would not be on a hot path.
5207
+ */
5208
+ async function pairingVerificationCode(devicePublicKeyB64) {
5209
+ const pubRaw = decodePairingPublicKey(devicePublicKeyB64);
5210
+ const material = await crypto.subtle.importKey("raw", pubRaw, { name: "PBKDF2" }, false, [
5211
+ "deriveBits",
5212
+ ]);
5213
+ // Enough bytes that rejection sampling (below) effectively never runs dry:
5214
+ // each byte is rejected with p = 16/256, so 32 bytes yields 8 symbols with
5215
+ // overwhelming probability.
5216
+ const bits = new Uint8Array(await crypto.subtle.deriveBits({
5217
+ name: "PBKDF2",
5218
+ hash: "SHA-256",
5219
+ salt: TE.encode(PAIRING_CODE_DOMAIN),
5220
+ iterations: PAIRING_CODE_ITERATIONS,
5221
+ }, material, 256));
5222
+ // Rejection-sample so all 30 symbols are equally likely. 256 is not a
5223
+ // multiple of 30, so a plain modulo would over-weight the first 16 symbols.
5224
+ const n = PAIRING_CODE_ALPHABET.length;
5225
+ const limit = Math.floor(256 / n) * n; // 240
5226
+ let out = "";
5227
+ for (let i = 0; i < bits.length && out.length < PAIRING_CODE_LENGTH; i++) {
5228
+ if (bits[i] >= limit)
5229
+ continue;
5230
+ out += PAIRING_CODE_ALPHABET[bits[i] % n];
5231
+ }
5232
+ if (out.length < PAIRING_CODE_LENGTH) {
5233
+ // Astronomically unlikely (p < 2^-40); fail loudly rather than return a
5234
+ // short code that two screens would still "agree" on.
5235
+ throw new Error("Pairing code derivation ran out of entropy.");
5236
+ }
5237
+ // Grouped for human comparison — the format the spec and both UIs display.
5238
+ return out.slice(0, 4) + "-" + out.slice(4);
5239
+ }
5240
+ // ---- v2 internals ----------------------------------------------------------
5241
+ /**
5242
+ * ECDH → HKDF-SHA256 → AES-256-GCM key.
5243
+ *
5244
+ * The raw ECDH output is never used as a key directly; it is extracted+expanded
5245
+ * with BOTH public keys mixed in:
5246
+ *
5247
+ * - the sender's ephemeral key as HKDF **salt**, and
5248
+ * - the recipient's device key appended to the HKDF **info**.
5249
+ *
5250
+ * Binding the recipient is not decoration. P-256 ECDH returns only the shared
5251
+ * point's x-coordinate, and negating a public key — `(x, y)` → `(x, p−y)`, which
5252
+ * is still on the curve and which ANYONE can compute from the published key —
5253
+ * yields the SAME x. So without the recipient in the KDF, a seal addressed to
5254
+ * the negated key still decrypts under the honest private key, even though that
5255
+ * negated key displays a DIFFERENT {@link pairingVerificationCode}. That would
5256
+ * leave the human code as the only thing rejecting a substituted recipient.
5257
+ * Mixing `devicePubRaw` in makes the substitution fail in the crypto layer,
5258
+ * where it belongs.
5259
+ *
5260
+ * (The salt is load-bearing for the same reason — it is what makes a swapped
5261
+ * `epk` derive a different key. Do not "simplify" either input away.)
5262
+ */
5263
+ async function deriveDeviceSealKey(priv, pub, epkRaw, devicePubRaw, usages) {
5264
+ const shared = new Uint8Array(await crypto.subtle.deriveBits({ name: "ECDH", public: pub }, priv, 256));
5265
+ const prk = await crypto.subtle.importKey("raw", shared, { name: "HKDF" }, false, ["deriveBits"]);
5266
+ const label = TE.encode(HKDF_INFO_V2);
5267
+ const info = new Uint8Array(label.length + devicePubRaw.length);
5268
+ info.set(label, 0);
5269
+ info.set(devicePubRaw, label.length);
5270
+ const okm = await crypto.subtle.deriveBits({
5271
+ name: "HKDF",
5272
+ hash: "SHA-256",
5273
+ salt: epkRaw,
5274
+ info: info,
5275
+ }, prk, 256);
5276
+ return crypto.subtle.importKey("raw", okm, { name: "AES-GCM" }, false, usages);
5277
+ }
5278
+ /** Decode + shape-check a raw SEC1 uncompressed P-256 public key. */
5279
+ function decodePairingPublicKey(b64) {
5280
+ if (typeof b64 !== "string" || b64.length === 0) {
5281
+ throw new Error("Pairing public key must be a non-empty base64 string.");
5282
+ }
5283
+ const raw = fromBase64Loose(b64);
5284
+ if (raw.length !== 65 || raw[0] !== 0x04) {
5285
+ throw new Error("Pairing public key must be a 65-byte uncompressed P-256 point.");
5286
+ }
5287
+ return raw;
5288
+ }
5289
+ /** Import a raw P-256 point for ECDH. Rejects points that are not on the curve. */
5290
+ function importPairingPublicKey(raw) {
5291
+ return crypto.subtle.importKey("raw", raw, PAIRING_CURVE, false, []);
5292
+ }
5293
+ /**
5294
+ * Base64 decode that also accepts the URL-safe alphabet and missing padding —
5295
+ * pairing public keys may travel through query strings, QR payloads, or JSON
5296
+ * depending on the client, and rejecting a key over `-` vs `+` would be a
5297
+ * miserable failure mode to debug.
5298
+ */
5299
+ function fromBase64Loose(s) {
5300
+ const norm = s.replace(/-/g, "+").replace(/_/g, "/");
5301
+ return fromBase64(norm.padEnd(Math.ceil(norm.length / 4) * 4, "="));
5302
+ }
5050
5303
  /** Generate a PKCE verifier + S256 challenge for the authorize→token exchange. */
5051
5304
  async function generatePkce() {
5052
5305
  const codeVerifier = base64UrlEncode(crypto.getRandomValues(new Uint8Array(32)));
@@ -5072,7 +5325,7 @@ function base64UrlDecode(s) {
5072
5325
  * expect (and isn't serving a stale cached bundle). Keep this in sync with
5073
5326
  * `package.json` `version`.
5074
5327
  */
5075
- const VERSION = "0.10.11-alpha.0";
5328
+ const VERSION = "0.10.12-alpha.0";
5076
5329
 
5077
5330
  /**
5078
5331
  * `HttpClient` — the one place the unified {@link Client} talks to the
@@ -12034,5 +12287,5 @@ var bundledLoader = /*#__PURE__*/Object.freeze({
12034
12287
  default: loadRsWasm
12035
12288
  });
12036
12289
 
12037
- export { ACCESS_TOKEN_SCOPES, AES_GCM_IV_BYTES, AES_GCM_KEY_BYTES, AES_GCM_TAG_BYTES, AccessTokensNamespace, AgentsNamespace, AuthClient, AuthNamespace, AuthPublicInput, Authenticator, BlockEngine, BroadcastChannel, BroadcastChannelEvents, ChannelExistsError, ChannelNotFoundError, ChunkCipher, Client, ConnectivityManager, DEFAULT_AUTH_BASE_URL, DEFAULT_BASE_URL, DEFAULT_FN_HOST_SUFFIX, DbCache, DoubleRatchet, DoubleRatchetCipher, DoubleRatchetManager, EncryptedSession, EventCore, EventCoreEvents, Field, Field as FieldElement, FileStorage, FunctionsNamespace, HLC, HashKnowledge, HttpClient, HttpError, IndexedDbStore, KEEPER_MEMBER_ID, KeyStore, KeyringClient, KvCache, KvNamespace, LocalEngineHost, LocalStorageSessionStore, MemorySessionStore, Message, Message as MessageDefault, MessageNamespace, MuhkooAgent, MuhkooDB, MuhkooFunction, MuhkooSpace, NoopStore, OfflineLockedError, OfflineManager, OutboundQueue, P2P_SUBJECT, PBKDF2_DEFAULT_ITERATIONS, PREIMAGE_POK_VERIFICATION_KEY, Packet, PasskeyOriginError, PeerExchange, PeerNetwork, PersonalSpaceClient, Poseidon, PreimagePoK, ReedSolomonCodec, Space as Room, SerializeMessage, SessionState, ShardCache, ShardClient, SharedSpaceClient, SnapshotNamespace, Space, SpaceCache, SpaceKeyring, SpaceNamespace, SpacePacketCipher, SpaceSignaler, StorageNamespace, SyncEngine, VaultUnavailableError, WSTransport, WebRtcTransport, WorkerEngineHost, ZERO_HLC, ZkAuth, buildCommitment, compareHlc, compilePrograms, createPasskeyWithPrf, decodeFromHex, decorators, decryptAesGcm, defaultCircuitUrls, defaultRpId, defaultSessionStore, deleteBeatsWrite, deleteRegister, deriveAesKeyFromPassphrase, deriveBitsHkdf, deriveIdentity, deriveIdentityFromSeed, deriveMasterSeedFromPassword, ejectAgentPrompt, ejectAgentTools, emptyMap, emptyRegister, encodeToHex, encryptAesGcm, evaluatePasskeyPrf, exportPublicKeyBase64, exportPublicKeyHex, generateAuthProof, generatePkce, getMuhkooAppDescriptor, getSubtle, initBn128Wasm, initRsWasm, initializeCircuits, isNewer, isOfflineCapable, isP2pCapable, isProvisional, manifestToStat, materializeRow, mergeMap, mergeMessage, mergeRegister, messageKey, pack, padHandle, passkeyPrfCapable, passkeySupported, poseidonHash, protocol, provisionalHandle, quickVerify, randomBytes, randomState, rpIdUsableForOrigin, sealSeed, shardHash, signMessage, stableStringify, toField, tombstoneRow, unpack, unsealSeed, unwrapWithPassphrase, verify, verifyGroth16, verifyHashKnowledge, verifyPreimagePoK, wrapWithPassphrase, writeBeatsTombstone, writeColumns, writeRegister };
12290
+ export { ACCESS_TOKEN_SCOPES, AES_GCM_IV_BYTES, AES_GCM_KEY_BYTES, AES_GCM_TAG_BYTES, AccessTokensNamespace, AgentsNamespace, AuthClient, AuthNamespace, AuthPublicInput, Authenticator, BlockEngine, BroadcastChannel, BroadcastChannelEvents, ChannelExistsError, ChannelNotFoundError, ChunkCipher, Client, ConnectivityManager, DEFAULT_AUTH_BASE_URL, DEFAULT_BASE_URL, DEFAULT_FN_HOST_SUFFIX, DbCache, DoubleRatchet, DoubleRatchetCipher, DoubleRatchetManager, EncryptedSession, EventCore, EventCoreEvents, Field, Field as FieldElement, FileStorage, FunctionsNamespace, HLC, HashKnowledge, HttpClient, HttpError, IndexedDbStore, KEEPER_MEMBER_ID, KeyStore, KeyringClient, KvCache, KvNamespace, LocalEngineHost, LocalStorageSessionStore, MemorySessionStore, Message, Message as MessageDefault, MessageNamespace, MuhkooAgent, MuhkooDB, MuhkooFunction, MuhkooSpace, NoopStore, OfflineLockedError, OfflineManager, OutboundQueue, P2P_SUBJECT, PAIRING_CODE_ALPHABET, PAIRING_CODE_LENGTH, PBKDF2_DEFAULT_ITERATIONS, PREIMAGE_POK_VERIFICATION_KEY, Packet, PasskeyOriginError, PeerExchange, PeerNetwork, PersonalSpaceClient, Poseidon, PreimagePoK, ReedSolomonCodec, Space as Room, SerializeMessage, SessionState, ShardCache, ShardClient, SharedSpaceClient, SnapshotNamespace, Space, SpaceCache, SpaceKeyring, SpaceNamespace, SpacePacketCipher, SpaceSignaler, StorageNamespace, SyncEngine, VaultUnavailableError, WSTransport, WebRtcTransport, WorkerEngineHost, ZERO_HLC, ZkAuth, buildCommitment, compareHlc, compilePrograms, createPasskeyWithPrf, decodeFromHex, decorators, decryptAesGcm, defaultCircuitUrls, defaultRpId, defaultSessionStore, deleteBeatsWrite, deleteRegister, deriveAesKeyFromPassphrase, deriveBitsHkdf, deriveIdentity, deriveIdentityFromSeed, deriveMasterSeedFromPassword, ejectAgentPrompt, ejectAgentTools, emptyMap, emptyRegister, encodeToHex, encryptAesGcm, evaluatePasskeyPrf, exportPublicKeyBase64, exportPublicKeyHex, generateAuthProof, generateDevicePairingKeypair, generatePkce, getMuhkooAppDescriptor, getSubtle, initBn128Wasm, initRsWasm, initializeCircuits, isNewer, isOfflineCapable, isP2pCapable, isProvisional, manifestToStat, materializeRow, mergeMap, mergeMessage, mergeRegister, messageKey, pack, padHandle, pairingVerificationCode, passkeyPrfCapable, passkeySupported, poseidonHash, protocol, provisionalHandle, quickVerify, randomBytes, randomState, rpIdUsableForOrigin, sealSeed, sealSeedToDevice, shardHash, signMessage, stableStringify, toField, tombstoneRow, unpack, unsealSeed, unsealSeedFromDevice, unwrapWithPassphrase, verify, verifyGroth16, verifyHashKnowledge, verifyPreimagePoK, wrapWithPassphrase, writeBeatsTombstone, writeColumns, writeRegister };
12038
12291
  //# sourceMappingURL=index.js.map