tfhe 1.5.4 → 1.6.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  BSD 3-Clause Clear License
2
2
 
3
- Copyright © 2025 ZAMA.
3
+ Copyright © 2026 ZAMA.
4
4
  All rights reserved.
5
5
 
6
6
  Redistribution and use in source and binary forms, with or without modification,
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  <hr/>
11
11
 
12
12
  <p align="center">
13
- <a href="https://github.com/zama-ai/tfhe-rs-handbook/blob/main/tfhe-rs-handbook.pdf"> 📃 Read Handbook</a> |<a href="https://docs.zama.ai/tfhe-rs"> 📒 Documentation</a> | <a href="https://zama.ai/community"> 💛 Community support</a> | <a href="https://github.com/zama-ai/awesome-zama"> 📚 FHE resources by Zama</a>
13
+ <a href="https://github.com/zama-ai/tfhe-rs-handbook/blob/main/tfhe-rs-handbook.pdf"> 📃 Read Handbook</a> |<a href="https://docs.zama.org/tfhe-rs"> 📒 Documentation</a> | <a href="https://www.zama.org/community-channels"> 💛 Community support</a> | <a href="https://github.com/zama-ai/awesome-zama"> 📚 FHE resources by Zama</a>
14
14
  </p>
15
15
 
16
16
 
@@ -47,7 +47,7 @@ production-ready library for all the advanced features of TFHE.
47
47
  - **Ciphertext and server key compression** for efficient data transfer
48
48
  - **Full Rust API, C bindings to the Rust High-Level API, and client-side JavaScript API using WASM**.
49
49
 
50
- *Learn more about TFHE-rs features in the [documentation](https://docs.zama.ai/tfhe-rs/readme).*
50
+ *Learn more about TFHE-rs features in the [documentation](https://docs.zama.org/tfhe-rs).*
51
51
  <br></br>
52
52
 
53
53
  ## Table of Contents
@@ -79,7 +79,7 @@ tfhe = { version = "*", features = ["boolean", "shortint", "integer"] }
79
79
  ```
80
80
 
81
81
  > [!Note]
82
- > Note: You need Rust version 1.84 or newer to compile TFHE-rs. You can check your version with `rustc --version`.
82
+ > Note: You need Rust version 1.91.1 or newer to compile TFHE-rs. You can check your version with `rustc --version`.
83
83
 
84
84
  > [!Note]
85
85
  > Note: AArch64-based machines are not supported for Windows as it's currently missing an entropy source to be able to seed the [CSPRNGs](https://en.wikipedia.org/wiki/Cryptographically_secure_pseudorandom_number_generator) used in TFHE-rs.
@@ -149,7 +149,7 @@ To run this code, use the following command:
149
149
  > Note that when running code that uses `TFHE-rs`, it is highly recommended
150
150
  to run in release mode with cargo's `--release` flag to have the best performance possible.
151
151
 
152
- *Find an example with more explanations in [this part of the documentation](https://docs.zama.ai/tfhe-rs/get-started/quick-start)*
152
+ *Find an example with more explanations in [this part of the documentation](https://docs.zama.org/tfhe-rs/get-started/quick-start)*
153
153
 
154
154
  <p align="right">
155
155
  <a href="#about" > ↑ Back to top </a>
@@ -163,25 +163,25 @@ to run in release mode with cargo's `--release` flag to have the best performanc
163
163
  A document containing scientific and technical details about algorithms implemented into the library is available here: [TFHE-rs: A (Practical) Handbook](https://github.com/zama-ai/tfhe-rs-handbook/blob/main/tfhe-rs-handbook.pdf).
164
164
 
165
165
  ### TFHE deep dive
166
- - [TFHE Deep Dive - Part I - Ciphertext types](https://www.zama.ai/post/tfhe-deep-dive-part-1)
167
- - [TFHE Deep Dive - Part II - Encodings and linear leveled operations](https://www.zama.ai/post/tfhe-deep-dive-part-2)
168
- - [TFHE Deep Dive - Part III - Key switching and leveled multiplications](https://www.zama.ai/post/tfhe-deep-dive-part-3)
169
- - [TFHE Deep Dive - Part IV - Programmable Bootstrapping](https://www.zama.ai/post/tfhe-deep-dive-part-4)
166
+ - [TFHE Deep Dive - Part I - Ciphertext types](https://www.zama.org/post/tfhe-deep-dive-part-1)
167
+ - [TFHE Deep Dive - Part II - Encodings and linear leveled operations](https://www.zama.org/post/tfhe-deep-dive-part-2)
168
+ - [TFHE Deep Dive - Part III - Key switching and leveled multiplications](https://www.zama.org/post/tfhe-deep-dive-part-3)
169
+ - [TFHE Deep Dive - Part IV - Programmable Bootstrapping](https://www.zama.org/post/tfhe-deep-dive-part-4)
170
170
  <br></br>
171
171
 
172
172
  ### Tutorials
173
- - [[Video tutorial] Implement signed integers using TFHE-rs ](https://www.zama.ai/post/video-tutorial-implement-signed-integers-sing-tfhe-rs)
174
- - [Homomorphic parity bit](https://docs.zama.ai/tfhe-rs/tutorials/parity-bit)
175
- - [Homomorphic case changing on Ascii string](https://docs.zama.ai/tfhe-rs/tutorials/ascii-fhe-string)
176
- - [Boolean SHA256 with TFHE-rs](https://www.zama.ai/post/boolean-sha256-tfhe-rs)
177
- - [Dark market with TFHE-rs](https://www.zama.ai/post/dark-market-tfhe-rs)
178
- - [Regular expression engine with TFHE-rs](https://www.zama.ai/post/regex-engine-tfhe-rs)
179
-
180
- *Explore more useful resources in [TFHE-rs tutorials](https://docs.zama.ai/tfhe-rs/tutorials) and [Awesome Zama repo](https://github.com/zama-ai/awesome-zama)*
173
+ - [Video tutorial: Implement signed integers using TFHE-rs](https://www.zama.org/post/video-tutorial-implement-signed-integers-sing-tfhe-rs)
174
+ - [Homomorphic parity bit](https://docs.zama.org/tfhe-rs/tutorials/parity-bit)
175
+ - [Homomorphic case changing on Ascii string](https://docs.zama.org/tfhe-rs/tutorials/ascii-fhe-string)
176
+ - [Boolean SHA256 with TFHE-rs](https://www.zama.org/post/boolean-sha256-tfhe-rs)
177
+ - [Dark market with TFHE-rs](https://www.zama.org/post/dark-market-tfhe-rs)
178
+ - [Regular expression engine with TFHE-rs](https://www.zama.org/post/regex-engine-tfhe-rs)
179
+
180
+ *Explore more useful resources in [TFHE-rs tutorials](https://docs.zama.org/tfhe-rs/tutorials) and [Awesome Zama repo](https://github.com/zama-ai/awesome-zama)*
181
181
  <br></br>
182
182
  ### Documentation
183
183
 
184
- Full, comprehensive documentation is available here: [https://docs.zama.ai/tfhe-rs](https://docs.zama.ai/tfhe-rs).
184
+ Full, comprehensive documentation is available here: [https://docs.zama.org/tfhe-rs](https://docs.zama.org/tfhe-rs).
185
185
  <p align="right">
186
186
  <a href="#about" > ↑ Back to top </a>
187
187
  </p>
@@ -202,7 +202,7 @@ When a new update is published in the Lattice Estimator, we update parameters ac
202
202
  ### Security model
203
203
 
204
204
  By default, the parameter sets used in the High-Level API have a failure probability $\le 2^{-128}$ to securely work in the IND-CPA^D model using the algorithmic techniques provided in our code base [1].
205
- If you want to work within the IND-CPA security model, which is less strict than the IND-CPA-D model, the parameter sets can easily be changed and would have slightly better performance. More details can be found in the [TFHE-rs documentation](https://docs.zama.ai/tfhe-rs).
205
+ If you want to work within the IND-CPA security model, which is less strict than the IND-CPA-D model, the parameter sets can easily be changed and would have slightly better performance. More details can be found in the [TFHE-rs documentation](https://docs.zama.org/tfhe-rs).
206
206
 
207
207
  [1] Bernard, Olivier, et al. "Drifting Towards Better Error Probabilities in Fully Homomorphic Encryption Schemes". https://eprint.iacr.org/2024/1718.pdf
208
208
 
@@ -231,7 +231,7 @@ To cite TFHE-rs in academic papers, please use the following entry:
231
231
  There are two ways to contribute to TFHE-rs:
232
232
 
233
233
  - [Open issues](https://github.com/zama-ai/tfhe-rs/issues/new/choose) to report bugs and typos, or to suggest new ideas
234
- - Request to become an official contributor by emailing [hello@zama.ai](mailto:hello@zama.ai).
234
+ - Request to become an official contributor by emailing [hello@zama.org](mailto:hello@zama.org).
235
235
 
236
236
  Becoming an approved contributor involves signing our Contributor License Agreement (CLA). Only approved contributors can send pull requests, so please make sure to get in touch before you do!
237
237
  <br></br>
@@ -243,16 +243,16 @@ This software is distributed under the **BSD-3-Clause-Clear** license. Read [thi
243
243
  **Is Zama’s technology free to use?**
244
244
  >Zama’s libraries are free to use under the BSD 3-Clause Clear license only for development, research, prototyping, and experimentation purposes. However, for any commercial use of Zama's open source code, companies must purchase Zama’s commercial patent license.
245
245
  >
246
- >Everything we do is open source and we are very transparent on what it means for our users, you can read more about how we monetize our open source products at Zama in [this blogpost](https://www.zama.ai/post/open-source).
246
+ >Everything we do is open source and we are very transparent on what it means for our users, you can read more about how we monetize our open source products at Zama in [this blogpost](https://www.zama.org/post/open-source).
247
247
 
248
248
  **What do I need to do if I want to use Zama’s technology for commercial purposes?**
249
- >To commercially use Zama’s technology you need to be granted Zama’s patent license. Please contact us hello@zama.ai for more information.
249
+ >To commercially use Zama’s technology you need to be granted Zama’s patent license. Please contact us hello@zama.org for more information.
250
250
 
251
251
  **Do you file IP on your technology?**
252
252
  >Yes, all Zama’s technologies are patented.
253
253
 
254
254
  **Can you customize a solution for my specific use case?**
255
- >We are open to collaborating and advancing the FHE space with our partners. If you have specific needs, please email us at hello@zama.ai.
255
+ >We are open to collaborating and advancing the FHE space with our partners. If you have specific needs, please email us at hello@zama.org.
256
256
 
257
257
  <p align="right">
258
258
  <a href="#about" > ↑ Back to top </a>
@@ -261,7 +261,7 @@ This software is distributed under the **BSD-3-Clause-Clear** license. Read [thi
261
261
 
262
262
  ## Support
263
263
 
264
- <a target="_blank" href="https://community.zama.ai">
264
+ <a target="_blank" href="https://community.zama.org">
265
265
  <picture>
266
266
  <source media="(prefers-color-scheme: dark)" srcset="https://github.com/zama-ai/tfhe-rs/assets/157474013/08656d0a-3f44-4126-b8b6-8c601dff5380">
267
267
  <source media="(prefers-color-scheme: light)" srcset="https://github.com/zama-ai/tfhe-rs/assets/157474013/1c9c9308-50ac-4aab-a4b9-469bb8c536a4">
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "tfhe",
3
3
  "type": "module",
4
4
  "description": "TFHE-rs is a fully homomorphic encryption (FHE) library that implements Zama's variant of TFHE.",
5
- "version": "1.5.4",
5
+ "version": "1.6.1",
6
6
  "license": "BSD-3-Clause-Clear",
7
7
  "repository": {
8
8
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  "snippets"
16
16
  ],
17
17
  "main": "tfhe.js",
18
- "homepage": "https://zama.ai/",
18
+ "homepage": "https://zama.org/",
19
19
  "types": "tfhe.d.ts",
20
20
  "sideEffects": [
21
21
  "./snippets/*"
package/tfhe.d.ts CHANGED
@@ -91,6 +91,7 @@ export class CompactCiphertextList {
91
91
  [Symbol.dispose](): void;
92
92
  static builder(public_key: TfheCompactPublicKey): CompactCiphertextListBuilder;
93
93
  static deserialize(buffer: Uint8Array): CompactCiphertextList;
94
+ eq(other: CompactCiphertextList): boolean;
94
95
  expand(): CompactCiphertextListExpander;
95
96
  get_kind_of(index: number): FheTypes | undefined;
96
97
  is_empty(): boolean;
@@ -106,7 +107,9 @@ export class CompactCiphertextListBuilder {
106
107
  [Symbol.dispose](): void;
107
108
  build(): CompactCiphertextList;
108
109
  build_packed(): CompactCiphertextList;
110
+ build_packed_seeded(seed: Uint8Array): CompactCiphertextList;
109
111
  build_with_proof_packed(crs: CompactPkeCrs, metadata: Uint8Array, compute_load: ZkComputeLoad): ProvenCompactCiphertextList;
112
+ build_with_proof_packed_seeded(crs: CompactPkeCrs, metadata: Uint8Array, compute_load: ZkComputeLoad, seed: Uint8Array): ProvenCompactCiphertextList;
110
113
  push_boolean(value: boolean): void;
111
114
  push_i10(value: number): void;
112
115
  push_i1024(value: any): void;
@@ -2548,6 +2551,7 @@ export class ProvenCompactCiphertextList {
2548
2551
  [Symbol.dispose](): void;
2549
2552
  static builder(public_key: TfheCompactPublicKey): CompactCiphertextListBuilder;
2550
2553
  static deserialize(buffer: Uint8Array): ProvenCompactCiphertextList;
2554
+ eq(other: ProvenCompactCiphertextList): boolean;
2551
2555
  expand_without_verification(): CompactCiphertextListExpander;
2552
2556
  get_kind_of(index: number): FheTypes | undefined;
2553
2557
  is_empty(): boolean;
@@ -2625,6 +2629,8 @@ export enum ShortintCompactPublicKeyEncryptionParametersName {
2625
2629
  V1_4_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128_ZKV1 = 12,
2626
2630
  V1_5_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128 = 13,
2627
2631
  V1_5_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128_ZKV1 = 14,
2632
+ V1_6_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128 = 15,
2633
+ V1_6_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128_ZKV1 = 16,
2628
2634
  }
2629
2635
 
2630
2636
  export class ShortintCompressedCiphertext {
@@ -3190,6 +3196,77 @@ export enum ShortintParametersName {
3190
3196
  V1_5_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_PBS_KS_GAUSSIAN_2M128 = 495,
3191
3197
  V1_5_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_PBS_KS_GAUSSIAN_2M128 = 496,
3192
3198
  V1_5_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_PBS_KS_GAUSSIAN_2M128 = 497,
3199
+ V1_6_PARAM_MESSAGE_1_CARRY_0_KS_PBS_GAUSSIAN_2M128 = 498,
3200
+ V1_6_PARAM_MESSAGE_1_CARRY_1_KS_PBS_GAUSSIAN_2M128 = 499,
3201
+ V1_6_PARAM_MESSAGE_2_CARRY_0_KS_PBS_GAUSSIAN_2M128 = 500,
3202
+ V1_6_PARAM_MESSAGE_1_CARRY_2_KS_PBS_GAUSSIAN_2M128 = 501,
3203
+ V1_6_PARAM_MESSAGE_2_CARRY_1_KS_PBS_GAUSSIAN_2M128 = 502,
3204
+ V1_6_PARAM_MESSAGE_3_CARRY_0_KS_PBS_GAUSSIAN_2M128 = 503,
3205
+ V1_6_PARAM_MESSAGE_1_CARRY_3_KS_PBS_GAUSSIAN_2M128 = 504,
3206
+ V1_6_PARAM_MESSAGE_2_CARRY_2_KS_PBS_GAUSSIAN_2M128 = 505,
3207
+ V1_6_PARAM_MESSAGE_3_CARRY_1_KS_PBS_GAUSSIAN_2M128 = 506,
3208
+ V1_6_PARAM_MESSAGE_4_CARRY_0_KS_PBS_GAUSSIAN_2M128 = 507,
3209
+ V1_6_PARAM_MESSAGE_1_CARRY_4_KS_PBS_GAUSSIAN_2M128 = 508,
3210
+ V1_6_PARAM_MESSAGE_2_CARRY_3_KS_PBS_GAUSSIAN_2M128 = 509,
3211
+ V1_6_PARAM_MESSAGE_3_CARRY_2_KS_PBS_GAUSSIAN_2M128 = 510,
3212
+ V1_6_PARAM_MESSAGE_4_CARRY_1_KS_PBS_GAUSSIAN_2M128 = 511,
3213
+ V1_6_PARAM_MESSAGE_5_CARRY_0_KS_PBS_GAUSSIAN_2M128 = 512,
3214
+ V1_6_PARAM_MESSAGE_1_CARRY_5_KS_PBS_GAUSSIAN_2M128 = 513,
3215
+ V1_6_PARAM_MESSAGE_2_CARRY_4_KS_PBS_GAUSSIAN_2M128 = 514,
3216
+ V1_6_PARAM_MESSAGE_3_CARRY_3_KS_PBS_GAUSSIAN_2M128 = 515,
3217
+ V1_6_PARAM_MESSAGE_4_CARRY_2_KS_PBS_GAUSSIAN_2M128 = 516,
3218
+ V1_6_PARAM_MESSAGE_5_CARRY_1_KS_PBS_GAUSSIAN_2M128 = 517,
3219
+ V1_6_PARAM_MESSAGE_6_CARRY_0_KS_PBS_GAUSSIAN_2M128 = 518,
3220
+ V1_6_PARAM_MESSAGE_1_CARRY_6_KS_PBS_GAUSSIAN_2M128 = 519,
3221
+ V1_6_PARAM_MESSAGE_2_CARRY_5_KS_PBS_GAUSSIAN_2M128 = 520,
3222
+ V1_6_PARAM_MESSAGE_3_CARRY_4_KS_PBS_GAUSSIAN_2M128 = 521,
3223
+ V1_6_PARAM_MESSAGE_4_CARRY_3_KS_PBS_GAUSSIAN_2M128 = 522,
3224
+ V1_6_PARAM_MESSAGE_5_CARRY_2_KS_PBS_GAUSSIAN_2M128 = 523,
3225
+ V1_6_PARAM_MESSAGE_6_CARRY_1_KS_PBS_GAUSSIAN_2M128 = 524,
3226
+ V1_6_PARAM_MESSAGE_7_CARRY_0_KS_PBS_GAUSSIAN_2M128 = 525,
3227
+ V1_6_PARAM_MESSAGE_1_CARRY_7_KS_PBS_GAUSSIAN_2M128 = 526,
3228
+ V1_6_PARAM_MESSAGE_2_CARRY_6_KS_PBS_GAUSSIAN_2M128 = 527,
3229
+ V1_6_PARAM_MESSAGE_3_CARRY_5_KS_PBS_GAUSSIAN_2M128 = 528,
3230
+ V1_6_PARAM_MESSAGE_4_CARRY_4_KS_PBS_GAUSSIAN_2M128 = 529,
3231
+ V1_6_PARAM_MESSAGE_5_CARRY_3_KS_PBS_GAUSSIAN_2M128 = 530,
3232
+ V1_6_PARAM_MESSAGE_6_CARRY_2_KS_PBS_GAUSSIAN_2M128 = 531,
3233
+ V1_6_PARAM_MESSAGE_7_CARRY_1_KS_PBS_GAUSSIAN_2M128 = 532,
3234
+ V1_6_PARAM_MESSAGE_8_CARRY_0_KS_PBS_GAUSSIAN_2M128 = 533,
3235
+ V1_6_PARAM_MESSAGE_1_CARRY_1_PBS_KS_GAUSSIAN_2M128 = 534,
3236
+ V1_6_PARAM_MESSAGE_2_CARRY_2_PBS_KS_GAUSSIAN_2M128 = 535,
3237
+ V1_6_PARAM_MESSAGE_3_CARRY_3_PBS_KS_GAUSSIAN_2M128 = 536,
3238
+ V1_6_PARAM_MESSAGE_4_CARRY_4_PBS_KS_GAUSSIAN_2M128 = 537,
3239
+ V1_6_PARAM_MESSAGE_1_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 538,
3240
+ V1_6_PARAM_MESSAGE_1_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 539,
3241
+ V1_6_PARAM_MESSAGE_1_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 540,
3242
+ V1_6_PARAM_MESSAGE_1_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 541,
3243
+ V1_6_PARAM_MESSAGE_1_CARRY_6_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 542,
3244
+ V1_6_PARAM_MESSAGE_1_CARRY_7_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 543,
3245
+ V1_6_PARAM_MESSAGE_2_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 544,
3246
+ V1_6_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 545,
3247
+ V1_6_PARAM_MESSAGE_2_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 546,
3248
+ V1_6_PARAM_MESSAGE_2_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 547,
3249
+ V1_6_PARAM_MESSAGE_2_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 548,
3250
+ V1_6_PARAM_MESSAGE_2_CARRY_6_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 549,
3251
+ V1_6_PARAM_MESSAGE_3_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 550,
3252
+ V1_6_PARAM_MESSAGE_3_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 551,
3253
+ V1_6_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 552,
3254
+ V1_6_PARAM_MESSAGE_3_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 553,
3255
+ V1_6_PARAM_MESSAGE_3_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 554,
3256
+ V1_6_PARAM_MESSAGE_4_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 555,
3257
+ V1_6_PARAM_MESSAGE_4_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 556,
3258
+ V1_6_PARAM_MESSAGE_4_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 557,
3259
+ V1_6_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 558,
3260
+ V1_6_PARAM_MESSAGE_5_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 559,
3261
+ V1_6_PARAM_MESSAGE_5_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 560,
3262
+ V1_6_PARAM_MESSAGE_5_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 561,
3263
+ V1_6_PARAM_MESSAGE_6_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 562,
3264
+ V1_6_PARAM_MESSAGE_6_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 563,
3265
+ V1_6_PARAM_MESSAGE_7_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128 = 564,
3266
+ V1_6_PARAM_MESSAGE_1_CARRY_1_COMPACT_PK_PBS_KS_GAUSSIAN_2M128 = 565,
3267
+ V1_6_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_PBS_KS_GAUSSIAN_2M128 = 566,
3268
+ V1_6_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_PBS_KS_GAUSSIAN_2M128 = 567,
3269
+ V1_6_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_PBS_KS_GAUSSIAN_2M128 = 568,
3193
3270
  }
3194
3271
 
3195
3272
  export class ShortintPublicKey {
@@ -3331,7 +3408,6 @@ export interface InitOutput {
3331
3408
  readonly __wbg_compactciphertextlist_free: (a: number, b: number) => void;
3332
3409
  readonly __wbg_compactciphertextlistbuilder_free: (a: number, b: number) => void;
3333
3410
  readonly __wbg_compactciphertextlistexpander_free: (a: number, b: number) => void;
3334
- readonly __wbg_compactpkecrs_free: (a: number, b: number) => void;
3335
3411
  readonly __wbg_compressedfhebool_free: (a: number, b: number) => void;
3336
3412
  readonly __wbg_compressedfheint1024_free: (a: number, b: number) => void;
3337
3413
  readonly __wbg_compressedfheint104_free: (a: number, b: number) => void;
@@ -3499,8 +3575,28 @@ export interface InitOutput {
3499
3575
  readonly __wbg_fheuint8_free: (a: number, b: number) => void;
3500
3576
  readonly __wbg_fheuint96_free: (a: number, b: number) => void;
3501
3577
  readonly __wbg_provencompactciphertextlist_free: (a: number, b: number) => void;
3578
+ readonly __wbg_shortint_free: (a: number, b: number) => void;
3579
+ readonly __wbg_shortintciphertext_free: (a: number, b: number) => void;
3580
+ readonly __wbg_shortintclientkey_free: (a: number, b: number) => void;
3581
+ readonly __wbg_shortintcompactpublickeyencryptionparameters_free: (a: number, b: number) => void;
3582
+ readonly __wbg_shortintcompressedciphertext_free: (a: number, b: number) => void;
3583
+ readonly __wbg_shortintcompressedpublickey_free: (a: number, b: number) => void;
3584
+ readonly __wbg_shortintcompressedserverkey_free: (a: number, b: number) => void;
3585
+ readonly __wbg_shortintnoisedistribution_free: (a: number, b: number) => void;
3586
+ readonly __wbg_shortintparameters_free: (a: number, b: number) => void;
3587
+ readonly __wbg_shortintpublickey_free: (a: number, b: number) => void;
3588
+ readonly __wbg_tfheclientkey_free: (a: number, b: number) => void;
3589
+ readonly __wbg_tfhecompactpublickey_free: (a: number, b: number) => void;
3590
+ readonly __wbg_tfhecompressedcompactpublickey_free: (a: number, b: number) => void;
3591
+ readonly __wbg_tfhecompressedpublickey_free: (a: number, b: number) => void;
3592
+ readonly __wbg_tfhecompressedserverkey_free: (a: number, b: number) => void;
3593
+ readonly __wbg_tfheconfig_free: (a: number, b: number) => void;
3594
+ readonly __wbg_tfheconfigbuilder_free: (a: number, b: number) => void;
3595
+ readonly __wbg_tfhepublickey_free: (a: number, b: number) => void;
3596
+ readonly __wbg_tfheserverkey_free: (a: number, b: number) => void;
3502
3597
  readonly compactciphertextlist_builder: (a: number) => [number, number, number];
3503
3598
  readonly compactciphertextlist_deserialize: (a: number, b: number) => [number, number, number];
3599
+ readonly compactciphertextlist_eq: (a: number, b: number) => number;
3504
3600
  readonly compactciphertextlist_expand: (a: number) => [number, number, number];
3505
3601
  readonly compactciphertextlist_get_kind_of: (a: number, b: number) => number;
3506
3602
  readonly compactciphertextlist_is_empty: (a: number) => number;
@@ -3510,7 +3606,9 @@ export interface InitOutput {
3510
3606
  readonly compactciphertextlist_serialize: (a: number) => [number, number, number, number];
3511
3607
  readonly compactciphertextlistbuilder_build: (a: number) => [number, number, number];
3512
3608
  readonly compactciphertextlistbuilder_build_packed: (a: number) => [number, number, number];
3609
+ readonly compactciphertextlistbuilder_build_packed_seeded: (a: number, b: number, c: number) => [number, number, number];
3513
3610
  readonly compactciphertextlistbuilder_build_with_proof_packed: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
3611
+ readonly compactciphertextlistbuilder_build_with_proof_packed_seeded: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number];
3514
3612
  readonly compactciphertextlistbuilder_push_boolean: (a: number, b: number) => [number, number];
3515
3613
  readonly compactciphertextlistbuilder_push_i10: (a: number, b: number) => [number, number];
3516
3614
  readonly compactciphertextlistbuilder_push_i1024: (a: number, b: any) => [number, number];
@@ -3680,13 +3778,6 @@ export interface InitOutput {
3680
3778
  readonly compactciphertextlistexpander_get_uint96: (a: number, b: number) => [number, number, number];
3681
3779
  readonly compactciphertextlistexpander_is_empty: (a: number) => number;
3682
3780
  readonly compactciphertextlistexpander_len: (a: number) => number;
3683
- readonly compactpkecrs_deserialize: (a: number, b: number) => [number, number, number];
3684
- readonly compactpkecrs_deserialize_from_public_params: (a: number, b: number) => [number, number, number];
3685
- readonly compactpkecrs_from_config: (a: number, b: number) => [number, number, number];
3686
- readonly compactpkecrs_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
3687
- readonly compactpkecrs_safe_deserialize_from_public_params: (a: number, b: number, c: bigint) => [number, number, number];
3688
- readonly compactpkecrs_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
3689
- readonly compactpkecrs_serialize: (a: number, b: number) => [number, number, number, number];
3690
3781
  readonly compressedfhebool_decompress: (a: number) => [number, number, number];
3691
3782
  readonly compressedfhebool_deserialize: (a: number, b: number) => [number, number, number];
3692
3783
  readonly compressedfhebool_encrypt_with_client_key: (a: number, b: number) => [number, number, number];
@@ -4849,111 +4940,17 @@ export interface InitOutput {
4849
4940
  readonly fheuint96_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
4850
4941
  readonly fheuint96_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
4851
4942
  readonly fheuint96_serialize: (a: number) => [number, number, number, number];
4943
+ readonly init_panic_hook: () => void;
4852
4944
  readonly provencompactciphertextlist_builder: (a: number) => [number, number, number];
4853
4945
  readonly provencompactciphertextlist_deserialize: (a: number, b: number) => [number, number, number];
4946
+ readonly provencompactciphertextlist_eq: (a: number, b: number) => number;
4854
4947
  readonly provencompactciphertextlist_expand_without_verification: (a: number) => [number, number, number];
4855
4948
  readonly provencompactciphertextlist_get_kind_of: (a: number, b: number) => number;
4856
4949
  readonly provencompactciphertextlist_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
4857
4950
  readonly provencompactciphertextlist_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
4858
4951
  readonly provencompactciphertextlist_serialize: (a: number) => [number, number, number, number];
4859
4952
  readonly provencompactciphertextlist_verify_and_expand: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
4860
- readonly provencompactciphertextlist_len: (a: number) => number;
4861
- readonly provencompactciphertextlist_is_empty: (a: number) => number;
4862
- readonly __wbg_boolean_free: (a: number, b: number) => void;
4863
- readonly __wbg_booleanciphertext_free: (a: number, b: number) => void;
4864
- readonly __wbg_booleanclientkey_free: (a: number, b: number) => void;
4865
- readonly __wbg_booleancompressedciphertext_free: (a: number, b: number) => void;
4866
- readonly __wbg_booleancompressedserverkey_free: (a: number, b: number) => void;
4867
- readonly __wbg_booleannoisedistribution_free: (a: number, b: number) => void;
4868
- readonly __wbg_booleanparameters_free: (a: number, b: number) => void;
4869
- readonly __wbg_booleanpublickey_free: (a: number, b: number) => void;
4870
- readonly __wbg_tfhe_free: (a: number, b: number) => void;
4871
- readonly __wbg_tfheclientkey_free: (a: number, b: number) => void;
4872
- readonly __wbg_tfhecompactpublickey_free: (a: number, b: number) => void;
4873
- readonly __wbg_tfhecompressedcompactpublickey_free: (a: number, b: number) => void;
4874
- readonly __wbg_tfhecompressedpublickey_free: (a: number, b: number) => void;
4875
- readonly __wbg_tfhecompressedserverkey_free: (a: number, b: number) => void;
4876
- readonly __wbg_tfheconfig_free: (a: number, b: number) => void;
4877
- readonly __wbg_tfheconfigbuilder_free: (a: number, b: number) => void;
4878
- readonly __wbg_tfhepublickey_free: (a: number, b: number) => void;
4879
- readonly __wbg_tfheserverkey_free: (a: number, b: number) => void;
4880
- readonly boolean_decompress_ciphertext: (a: number) => number;
4881
- readonly boolean_decrypt: (a: number, b: number) => number;
4882
- readonly boolean_deserialize_ciphertext: (a: number, b: number) => [number, number, number];
4883
- readonly boolean_deserialize_client_key: (a: number, b: number) => [number, number, number];
4884
- readonly boolean_deserialize_compressed_ciphertext: (a: number, b: number) => [number, number, number];
4885
- readonly boolean_deserialize_compressed_server_key: (a: number, b: number) => [number, number, number];
4886
- readonly boolean_deserialize_public_key: (a: number, b: number) => [number, number, number];
4887
- readonly boolean_encrypt: (a: number, b: number) => number;
4888
- readonly boolean_encrypt_compressed: (a: number, b: number) => number;
4889
- readonly boolean_encrypt_with_public_key: (a: number, b: number) => number;
4890
- readonly boolean_get_parameters: (a: number) => [number, number, number];
4891
- readonly boolean_new_client_key: (a: number) => number;
4892
- readonly boolean_new_client_key_from_seed_and_parameters: (a: bigint, b: bigint, c: number) => number;
4893
- readonly boolean_new_compressed_server_key: (a: number) => number;
4894
- readonly boolean_new_gaussian_from_std_dev: (a: number) => number;
4895
- readonly boolean_new_parameters: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
4896
- readonly boolean_new_public_key: (a: number) => number;
4897
- readonly boolean_serialize_ciphertext: (a: number) => [number, number, number, number];
4898
- readonly boolean_serialize_client_key: (a: number) => [number, number, number, number];
4899
- readonly boolean_serialize_compressed_ciphertext: (a: number) => [number, number, number, number];
4900
- readonly boolean_serialize_compressed_server_key: (a: number) => [number, number, number, number];
4901
- readonly boolean_serialize_public_key: (a: number) => [number, number, number, number];
4902
- readonly boolean_trivial_encrypt: (a: number) => number;
4903
- readonly boolean_try_new_t_uniform: (a: number) => [number, number, number];
4904
- readonly init_panic_hook: () => void;
4905
4953
  readonly set_server_key: (a: number) => [number, number];
4906
- readonly tfheclientkey_deserialize: (a: number, b: number) => [number, number, number];
4907
- readonly tfheclientkey_generate: (a: number) => [number, number, number];
4908
- readonly tfheclientkey_generate_with_seed: (a: number, b: any) => [number, number, number];
4909
- readonly tfheclientkey_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
4910
- readonly tfheclientkey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
4911
- readonly tfheclientkey_serialize: (a: number) => [number, number, number, number];
4912
- readonly tfhecompactpublickey_deserialize: (a: number, b: number) => [number, number, number];
4913
- readonly tfhecompactpublickey_new: (a: number) => [number, number, number];
4914
- readonly tfhecompactpublickey_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
4915
- readonly tfhecompactpublickey_safe_deserialize_conformant: (a: number, b: number, c: bigint, d: number) => [number, number, number];
4916
- readonly tfhecompactpublickey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
4917
- readonly tfhecompactpublickey_serialize: (a: number) => [number, number, number, number];
4918
- readonly tfhecompressedcompactpublickey_decompress: (a: number) => [number, number, number];
4919
- readonly tfhecompressedcompactpublickey_deserialize: (a: number, b: number) => [number, number, number];
4920
- readonly tfhecompressedcompactpublickey_new: (a: number) => [number, number, number];
4921
- readonly tfhecompressedcompactpublickey_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
4922
- readonly tfhecompressedcompactpublickey_safe_deserialize_conformant: (a: number, b: number, c: bigint, d: number) => [number, number, number];
4923
- readonly tfhecompressedcompactpublickey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
4924
- readonly tfhecompressedcompactpublickey_serialize: (a: number) => [number, number, number, number];
4925
- readonly tfhecompressedpublickey_decompress: (a: number) => [number, number, number];
4926
- readonly tfhecompressedpublickey_deserialize: (a: number, b: number) => [number, number, number];
4927
- readonly tfhecompressedpublickey_new: (a: number) => [number, number, number];
4928
- readonly tfhecompressedpublickey_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
4929
- readonly tfhecompressedpublickey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
4930
- readonly tfhecompressedpublickey_serialize: (a: number) => [number, number, number, number];
4931
- readonly tfhecompressedserverkey_deserialize: (a: number, b: number) => [number, number, number];
4932
- readonly tfhecompressedserverkey_new: (a: number) => [number, number, number];
4933
- readonly tfhecompressedserverkey_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
4934
- readonly tfhecompressedserverkey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
4935
- readonly tfhecompressedserverkey_serialize: (a: number) => [number, number, number, number];
4936
- readonly tfheconfigbuilder_build: (a: number) => number;
4937
- readonly tfheconfigbuilder_default: () => number;
4938
- readonly tfheconfigbuilder_use_custom_parameters: (a: number, b: number) => number;
4939
- readonly tfheconfigbuilder_use_dedicated_compact_public_key_parameters: (a: number, b: number) => number;
4940
- readonly tfheconfigbuilder_with_custom_parameters: (a: number) => number;
4941
- readonly tfhepublickey_deserialize: (a: number, b: number) => [number, number, number];
4942
- readonly tfhepublickey_new: (a: number) => [number, number, number];
4943
- readonly tfhepublickey_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
4944
- readonly tfhepublickey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
4945
- readonly tfhepublickey_serialize: (a: number) => [number, number, number, number];
4946
- readonly tfheserverkey_new: (a: number) => [number, number, number];
4947
- readonly __wbg_shortint_free: (a: number, b: number) => void;
4948
- readonly __wbg_shortintciphertext_free: (a: number, b: number) => void;
4949
- readonly __wbg_shortintclientkey_free: (a: number, b: number) => void;
4950
- readonly __wbg_shortintcompactpublickeyencryptionparameters_free: (a: number, b: number) => void;
4951
- readonly __wbg_shortintcompressedciphertext_free: (a: number, b: number) => void;
4952
- readonly __wbg_shortintcompressedpublickey_free: (a: number, b: number) => void;
4953
- readonly __wbg_shortintcompressedserverkey_free: (a: number, b: number) => void;
4954
- readonly __wbg_shortintnoisedistribution_free: (a: number, b: number) => void;
4955
- readonly __wbg_shortintparameters_free: (a: number, b: number) => void;
4956
- readonly __wbg_shortintpublickey_free: (a: number, b: number) => void;
4957
4954
  readonly shortint_decompress_ciphertext: (a: number) => number;
4958
4955
  readonly shortint_decrypt: (a: number, b: number) => bigint;
4959
4956
  readonly shortint_deserialize_ciphertext: (a: number, b: number) => [number, number, number];
@@ -5008,7 +5005,91 @@ export interface InitOutput {
5008
5005
  readonly shortintparameters_set_pbs_base_log: (a: number, b: number) => void;
5009
5006
  readonly shortintparameters_set_pbs_level: (a: number, b: number) => void;
5010
5007
  readonly shortintparameters_set_polynomial_size: (a: number, b: number) => void;
5008
+ readonly tfheclientkey_deserialize: (a: number, b: number) => [number, number, number];
5009
+ readonly tfheclientkey_generate: (a: number) => [number, number, number];
5010
+ readonly tfheclientkey_generate_with_seed: (a: number, b: any) => [number, number, number];
5011
+ readonly tfheclientkey_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
5012
+ readonly tfheclientkey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
5013
+ readonly tfheclientkey_serialize: (a: number) => [number, number, number, number];
5014
+ readonly tfhecompactpublickey_deserialize: (a: number, b: number) => [number, number, number];
5015
+ readonly tfhecompactpublickey_new: (a: number) => [number, number, number];
5016
+ readonly tfhecompactpublickey_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
5017
+ readonly tfhecompactpublickey_safe_deserialize_conformant: (a: number, b: number, c: bigint, d: number) => [number, number, number];
5018
+ readonly tfhecompactpublickey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
5019
+ readonly tfhecompactpublickey_serialize: (a: number) => [number, number, number, number];
5020
+ readonly tfhecompressedcompactpublickey_decompress: (a: number) => [number, number, number];
5021
+ readonly tfhecompressedcompactpublickey_deserialize: (a: number, b: number) => [number, number, number];
5022
+ readonly tfhecompressedcompactpublickey_new: (a: number) => [number, number, number];
5023
+ readonly tfhecompressedcompactpublickey_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
5024
+ readonly tfhecompressedcompactpublickey_safe_deserialize_conformant: (a: number, b: number, c: bigint, d: number) => [number, number, number];
5025
+ readonly tfhecompressedcompactpublickey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
5026
+ readonly tfhecompressedcompactpublickey_serialize: (a: number) => [number, number, number, number];
5027
+ readonly tfhecompressedpublickey_decompress: (a: number) => [number, number, number];
5028
+ readonly tfhecompressedpublickey_deserialize: (a: number, b: number) => [number, number, number];
5029
+ readonly tfhecompressedpublickey_new: (a: number) => [number, number, number];
5030
+ readonly tfhecompressedpublickey_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
5031
+ readonly tfhecompressedpublickey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
5032
+ readonly tfhecompressedpublickey_serialize: (a: number) => [number, number, number, number];
5033
+ readonly tfhecompressedserverkey_deserialize: (a: number, b: number) => [number, number, number];
5034
+ readonly tfhecompressedserverkey_new: (a: number) => [number, number, number];
5035
+ readonly tfhecompressedserverkey_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
5036
+ readonly tfhecompressedserverkey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
5037
+ readonly tfhecompressedserverkey_serialize: (a: number) => [number, number, number, number];
5038
+ readonly tfheconfigbuilder_build: (a: number) => number;
5039
+ readonly tfheconfigbuilder_default: () => number;
5040
+ readonly tfheconfigbuilder_use_custom_parameters: (a: number, b: number) => number;
5041
+ readonly tfheconfigbuilder_use_dedicated_compact_public_key_parameters: (a: number, b: number) => number;
5042
+ readonly tfheconfigbuilder_with_custom_parameters: (a: number) => number;
5043
+ readonly tfhepublickey_deserialize: (a: number, b: number) => [number, number, number];
5044
+ readonly tfhepublickey_new: (a: number) => [number, number, number];
5045
+ readonly tfhepublickey_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
5046
+ readonly tfhepublickey_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
5047
+ readonly tfhepublickey_serialize: (a: number) => [number, number, number, number];
5048
+ readonly tfheserverkey_new: (a: number) => [number, number, number];
5049
+ readonly provencompactciphertextlist_len: (a: number) => number;
5050
+ readonly provencompactciphertextlist_is_empty: (a: number) => number;
5011
5051
  readonly shortintparameters_lwe_noise_distribution: (a: number) => number;
5052
+ readonly __wbg_boolean_free: (a: number, b: number) => void;
5053
+ readonly __wbg_booleanciphertext_free: (a: number, b: number) => void;
5054
+ readonly __wbg_booleanclientkey_free: (a: number, b: number) => void;
5055
+ readonly __wbg_booleancompressedciphertext_free: (a: number, b: number) => void;
5056
+ readonly __wbg_booleancompressedserverkey_free: (a: number, b: number) => void;
5057
+ readonly __wbg_booleannoisedistribution_free: (a: number, b: number) => void;
5058
+ readonly __wbg_booleanparameters_free: (a: number, b: number) => void;
5059
+ readonly __wbg_booleanpublickey_free: (a: number, b: number) => void;
5060
+ readonly __wbg_compactpkecrs_free: (a: number, b: number) => void;
5061
+ readonly boolean_decompress_ciphertext: (a: number) => number;
5062
+ readonly boolean_decrypt: (a: number, b: number) => number;
5063
+ readonly boolean_deserialize_ciphertext: (a: number, b: number) => [number, number, number];
5064
+ readonly boolean_deserialize_client_key: (a: number, b: number) => [number, number, number];
5065
+ readonly boolean_deserialize_compressed_ciphertext: (a: number, b: number) => [number, number, number];
5066
+ readonly boolean_deserialize_compressed_server_key: (a: number, b: number) => [number, number, number];
5067
+ readonly boolean_deserialize_public_key: (a: number, b: number) => [number, number, number];
5068
+ readonly boolean_encrypt: (a: number, b: number) => number;
5069
+ readonly boolean_encrypt_compressed: (a: number, b: number) => number;
5070
+ readonly boolean_encrypt_with_public_key: (a: number, b: number) => number;
5071
+ readonly boolean_get_parameters: (a: number) => [number, number, number];
5072
+ readonly boolean_new_client_key: (a: number) => number;
5073
+ readonly boolean_new_client_key_from_seed_and_parameters: (a: bigint, b: bigint, c: number) => number;
5074
+ readonly boolean_new_compressed_server_key: (a: number) => number;
5075
+ readonly boolean_new_gaussian_from_std_dev: (a: number) => number;
5076
+ readonly boolean_new_parameters: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
5077
+ readonly boolean_new_public_key: (a: number) => number;
5078
+ readonly boolean_serialize_ciphertext: (a: number) => [number, number, number, number];
5079
+ readonly boolean_serialize_client_key: (a: number) => [number, number, number, number];
5080
+ readonly boolean_serialize_compressed_ciphertext: (a: number) => [number, number, number, number];
5081
+ readonly boolean_serialize_compressed_server_key: (a: number) => [number, number, number, number];
5082
+ readonly boolean_serialize_public_key: (a: number) => [number, number, number, number];
5083
+ readonly boolean_trivial_encrypt: (a: number) => number;
5084
+ readonly boolean_try_new_t_uniform: (a: number) => [number, number, number];
5085
+ readonly compactpkecrs_deserialize: (a: number, b: number) => [number, number, number];
5086
+ readonly compactpkecrs_deserialize_from_public_params: (a: number, b: number) => [number, number, number];
5087
+ readonly compactpkecrs_from_config: (a: number, b: number) => [number, number, number];
5088
+ readonly compactpkecrs_safe_deserialize: (a: number, b: number, c: bigint) => [number, number, number];
5089
+ readonly compactpkecrs_safe_deserialize_from_public_params: (a: number, b: number, c: bigint) => [number, number, number];
5090
+ readonly compactpkecrs_safe_serialize: (a: number, b: bigint) => [number, number, number, number];
5091
+ readonly compactpkecrs_serialize: (a: number, b: number) => [number, number, number, number];
5092
+ readonly __wbg_tfhe_free: (a: number, b: number) => void;
5012
5093
  readonly __wbg_wbg_rayon_poolbuilder_free: (a: number, b: number) => void;
5013
5094
  readonly wbg_rayon_poolbuilder_build: (a: number) => void;
5014
5095
  readonly wbg_rayon_poolbuilder_numThreads: (a: number) => number;
package/tfhe.js CHANGED
@@ -1,6 +1,7 @@
1
1
  /* @ts-self-types="./tfhe.d.ts" */
2
2
  import { startWorkers } from './snippets/wasm-bindgen-rayon-38edf6e439f6d70d/src/workerHelpers.js';
3
3
 
4
+
4
5
  export class Boolean {
5
6
  __destroy_into_raw() {
6
7
  const ptr = this.__wbg_ptr;
@@ -503,6 +504,15 @@ export class CompactCiphertextList {
503
504
  }
504
505
  return CompactCiphertextList.__wrap(ret[0]);
505
506
  }
507
+ /**
508
+ * @param {CompactCiphertextList} other
509
+ * @returns {boolean}
510
+ */
511
+ eq(other) {
512
+ _assertClass(other, CompactCiphertextList);
513
+ const ret = wasm.compactciphertextlist_eq(this.__wbg_ptr, other.__wbg_ptr);
514
+ return ret !== 0;
515
+ }
506
516
  /**
507
517
  * @returns {CompactCiphertextListExpander}
508
518
  */
@@ -615,6 +625,19 @@ export class CompactCiphertextListBuilder {
615
625
  }
616
626
  return CompactCiphertextList.__wrap(ret[0]);
617
627
  }
628
+ /**
629
+ * @param {Uint8Array} seed
630
+ * @returns {CompactCiphertextList}
631
+ */
632
+ build_packed_seeded(seed) {
633
+ const ptr0 = passArray8ToWasm0(seed, wasm.__wbindgen_malloc);
634
+ const len0 = WASM_VECTOR_LEN;
635
+ const ret = wasm.compactciphertextlistbuilder_build_packed_seeded(this.__wbg_ptr, ptr0, len0);
636
+ if (ret[2]) {
637
+ throw takeFromExternrefTable0(ret[1]);
638
+ }
639
+ return CompactCiphertextList.__wrap(ret[0]);
640
+ }
618
641
  /**
619
642
  * @param {CompactPkeCrs} crs
620
643
  * @param {Uint8Array} metadata
@@ -631,6 +654,25 @@ export class CompactCiphertextListBuilder {
631
654
  }
632
655
  return ProvenCompactCiphertextList.__wrap(ret[0]);
633
656
  }
657
+ /**
658
+ * @param {CompactPkeCrs} crs
659
+ * @param {Uint8Array} metadata
660
+ * @param {ZkComputeLoad} compute_load
661
+ * @param {Uint8Array} seed
662
+ * @returns {ProvenCompactCiphertextList}
663
+ */
664
+ build_with_proof_packed_seeded(crs, metadata, compute_load, seed) {
665
+ _assertClass(crs, CompactPkeCrs);
666
+ const ptr0 = passArray8ToWasm0(metadata, wasm.__wbindgen_malloc);
667
+ const len0 = WASM_VECTOR_LEN;
668
+ const ptr1 = passArray8ToWasm0(seed, wasm.__wbindgen_malloc);
669
+ const len1 = WASM_VECTOR_LEN;
670
+ const ret = wasm.compactciphertextlistbuilder_build_with_proof_packed_seeded(this.__wbg_ptr, crs.__wbg_ptr, ptr0, len0, compute_load, ptr1, len1);
671
+ if (ret[2]) {
672
+ throw takeFromExternrefTable0(ret[1]);
673
+ }
674
+ return ProvenCompactCiphertextList.__wrap(ret[0]);
675
+ }
634
676
  /**
635
677
  * @param {boolean} value
636
678
  */
@@ -20844,6 +20886,15 @@ export class ProvenCompactCiphertextList {
20844
20886
  }
20845
20887
  return ProvenCompactCiphertextList.__wrap(ret[0]);
20846
20888
  }
20889
+ /**
20890
+ * @param {ProvenCompactCiphertextList} other
20891
+ * @returns {boolean}
20892
+ */
20893
+ eq(other) {
20894
+ _assertClass(other, ProvenCompactCiphertextList);
20895
+ const ret = wasm.provencompactciphertextlist_eq(this.__wbg_ptr, other.__wbg_ptr);
20896
+ return ret !== 0;
20897
+ }
20847
20898
  /**
20848
20899
  * @returns {CompactCiphertextListExpander}
20849
20900
  */
@@ -21353,7 +21404,7 @@ export class ShortintCompactPublicKeyEncryptionParameters {
21353
21404
  if (Symbol.dispose) ShortintCompactPublicKeyEncryptionParameters.prototype[Symbol.dispose] = ShortintCompactPublicKeyEncryptionParameters.prototype.free;
21354
21405
 
21355
21406
  /**
21356
- * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14}
21407
+ * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16}
21357
21408
  */
21358
21409
  export const ShortintCompactPublicKeyEncryptionParametersName = Object.freeze({
21359
21410
  PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128: 0, "0": "PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128",
@@ -21371,6 +21422,8 @@ export const ShortintCompactPublicKeyEncryptionParametersName = Object.freeze({
21371
21422
  V1_4_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128_ZKV1: 12, "12": "V1_4_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128_ZKV1",
21372
21423
  V1_5_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128: 13, "13": "V1_5_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128",
21373
21424
  V1_5_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128_ZKV1: 14, "14": "V1_5_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128_ZKV1",
21425
+ V1_6_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128: 15, "15": "V1_6_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128",
21426
+ V1_6_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128_ZKV1: 16, "16": "V1_6_PARAM_PKE_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128_ZKV1",
21374
21427
  });
21375
21428
 
21376
21429
  export class ShortintCompressedCiphertext {
@@ -21558,7 +21611,7 @@ export class ShortintParameters {
21558
21611
  * @param {ShortintParametersName | null} [name]
21559
21612
  */
21560
21613
  constructor(name) {
21561
- const ret = wasm.shortintparameters_new(isLikeNone(name) ? 498 : name);
21614
+ const ret = wasm.shortintparameters_new(isLikeNone(name) ? 569 : name);
21562
21615
  if (ret[2]) {
21563
21616
  throw takeFromExternrefTable0(ret[1]);
21564
21617
  }
@@ -21665,7 +21718,7 @@ export class ShortintParameters {
21665
21718
  if (Symbol.dispose) ShortintParameters.prototype[Symbol.dispose] = ShortintParameters.prototype.free;
21666
21719
 
21667
21720
  /**
21668
- * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497}
21721
+ * @enum {0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | 546 | 547 | 548 | 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 | 557 | 558 | 559 | 560 | 561 | 562 | 563 | 564 | 565 | 566 | 567 | 568}
21669
21722
  */
21670
21723
  export const ShortintParametersName = Object.freeze({
21671
21724
  PARAM_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128: 0, "0": "PARAM_MESSAGE_2_CARRY_2_KS_PBS_TUNIFORM_2M128",
@@ -22166,6 +22219,77 @@ export const ShortintParametersName = Object.freeze({
22166
22219
  V1_5_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_PBS_KS_GAUSSIAN_2M128: 495, "495": "V1_5_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_PBS_KS_GAUSSIAN_2M128",
22167
22220
  V1_5_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_PBS_KS_GAUSSIAN_2M128: 496, "496": "V1_5_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_PBS_KS_GAUSSIAN_2M128",
22168
22221
  V1_5_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_PBS_KS_GAUSSIAN_2M128: 497, "497": "V1_5_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_PBS_KS_GAUSSIAN_2M128",
22222
+ V1_6_PARAM_MESSAGE_1_CARRY_0_KS_PBS_GAUSSIAN_2M128: 498, "498": "V1_6_PARAM_MESSAGE_1_CARRY_0_KS_PBS_GAUSSIAN_2M128",
22223
+ V1_6_PARAM_MESSAGE_1_CARRY_1_KS_PBS_GAUSSIAN_2M128: 499, "499": "V1_6_PARAM_MESSAGE_1_CARRY_1_KS_PBS_GAUSSIAN_2M128",
22224
+ V1_6_PARAM_MESSAGE_2_CARRY_0_KS_PBS_GAUSSIAN_2M128: 500, "500": "V1_6_PARAM_MESSAGE_2_CARRY_0_KS_PBS_GAUSSIAN_2M128",
22225
+ V1_6_PARAM_MESSAGE_1_CARRY_2_KS_PBS_GAUSSIAN_2M128: 501, "501": "V1_6_PARAM_MESSAGE_1_CARRY_2_KS_PBS_GAUSSIAN_2M128",
22226
+ V1_6_PARAM_MESSAGE_2_CARRY_1_KS_PBS_GAUSSIAN_2M128: 502, "502": "V1_6_PARAM_MESSAGE_2_CARRY_1_KS_PBS_GAUSSIAN_2M128",
22227
+ V1_6_PARAM_MESSAGE_3_CARRY_0_KS_PBS_GAUSSIAN_2M128: 503, "503": "V1_6_PARAM_MESSAGE_3_CARRY_0_KS_PBS_GAUSSIAN_2M128",
22228
+ V1_6_PARAM_MESSAGE_1_CARRY_3_KS_PBS_GAUSSIAN_2M128: 504, "504": "V1_6_PARAM_MESSAGE_1_CARRY_3_KS_PBS_GAUSSIAN_2M128",
22229
+ V1_6_PARAM_MESSAGE_2_CARRY_2_KS_PBS_GAUSSIAN_2M128: 505, "505": "V1_6_PARAM_MESSAGE_2_CARRY_2_KS_PBS_GAUSSIAN_2M128",
22230
+ V1_6_PARAM_MESSAGE_3_CARRY_1_KS_PBS_GAUSSIAN_2M128: 506, "506": "V1_6_PARAM_MESSAGE_3_CARRY_1_KS_PBS_GAUSSIAN_2M128",
22231
+ V1_6_PARAM_MESSAGE_4_CARRY_0_KS_PBS_GAUSSIAN_2M128: 507, "507": "V1_6_PARAM_MESSAGE_4_CARRY_0_KS_PBS_GAUSSIAN_2M128",
22232
+ V1_6_PARAM_MESSAGE_1_CARRY_4_KS_PBS_GAUSSIAN_2M128: 508, "508": "V1_6_PARAM_MESSAGE_1_CARRY_4_KS_PBS_GAUSSIAN_2M128",
22233
+ V1_6_PARAM_MESSAGE_2_CARRY_3_KS_PBS_GAUSSIAN_2M128: 509, "509": "V1_6_PARAM_MESSAGE_2_CARRY_3_KS_PBS_GAUSSIAN_2M128",
22234
+ V1_6_PARAM_MESSAGE_3_CARRY_2_KS_PBS_GAUSSIAN_2M128: 510, "510": "V1_6_PARAM_MESSAGE_3_CARRY_2_KS_PBS_GAUSSIAN_2M128",
22235
+ V1_6_PARAM_MESSAGE_4_CARRY_1_KS_PBS_GAUSSIAN_2M128: 511, "511": "V1_6_PARAM_MESSAGE_4_CARRY_1_KS_PBS_GAUSSIAN_2M128",
22236
+ V1_6_PARAM_MESSAGE_5_CARRY_0_KS_PBS_GAUSSIAN_2M128: 512, "512": "V1_6_PARAM_MESSAGE_5_CARRY_0_KS_PBS_GAUSSIAN_2M128",
22237
+ V1_6_PARAM_MESSAGE_1_CARRY_5_KS_PBS_GAUSSIAN_2M128: 513, "513": "V1_6_PARAM_MESSAGE_1_CARRY_5_KS_PBS_GAUSSIAN_2M128",
22238
+ V1_6_PARAM_MESSAGE_2_CARRY_4_KS_PBS_GAUSSIAN_2M128: 514, "514": "V1_6_PARAM_MESSAGE_2_CARRY_4_KS_PBS_GAUSSIAN_2M128",
22239
+ V1_6_PARAM_MESSAGE_3_CARRY_3_KS_PBS_GAUSSIAN_2M128: 515, "515": "V1_6_PARAM_MESSAGE_3_CARRY_3_KS_PBS_GAUSSIAN_2M128",
22240
+ V1_6_PARAM_MESSAGE_4_CARRY_2_KS_PBS_GAUSSIAN_2M128: 516, "516": "V1_6_PARAM_MESSAGE_4_CARRY_2_KS_PBS_GAUSSIAN_2M128",
22241
+ V1_6_PARAM_MESSAGE_5_CARRY_1_KS_PBS_GAUSSIAN_2M128: 517, "517": "V1_6_PARAM_MESSAGE_5_CARRY_1_KS_PBS_GAUSSIAN_2M128",
22242
+ V1_6_PARAM_MESSAGE_6_CARRY_0_KS_PBS_GAUSSIAN_2M128: 518, "518": "V1_6_PARAM_MESSAGE_6_CARRY_0_KS_PBS_GAUSSIAN_2M128",
22243
+ V1_6_PARAM_MESSAGE_1_CARRY_6_KS_PBS_GAUSSIAN_2M128: 519, "519": "V1_6_PARAM_MESSAGE_1_CARRY_6_KS_PBS_GAUSSIAN_2M128",
22244
+ V1_6_PARAM_MESSAGE_2_CARRY_5_KS_PBS_GAUSSIAN_2M128: 520, "520": "V1_6_PARAM_MESSAGE_2_CARRY_5_KS_PBS_GAUSSIAN_2M128",
22245
+ V1_6_PARAM_MESSAGE_3_CARRY_4_KS_PBS_GAUSSIAN_2M128: 521, "521": "V1_6_PARAM_MESSAGE_3_CARRY_4_KS_PBS_GAUSSIAN_2M128",
22246
+ V1_6_PARAM_MESSAGE_4_CARRY_3_KS_PBS_GAUSSIAN_2M128: 522, "522": "V1_6_PARAM_MESSAGE_4_CARRY_3_KS_PBS_GAUSSIAN_2M128",
22247
+ V1_6_PARAM_MESSAGE_5_CARRY_2_KS_PBS_GAUSSIAN_2M128: 523, "523": "V1_6_PARAM_MESSAGE_5_CARRY_2_KS_PBS_GAUSSIAN_2M128",
22248
+ V1_6_PARAM_MESSAGE_6_CARRY_1_KS_PBS_GAUSSIAN_2M128: 524, "524": "V1_6_PARAM_MESSAGE_6_CARRY_1_KS_PBS_GAUSSIAN_2M128",
22249
+ V1_6_PARAM_MESSAGE_7_CARRY_0_KS_PBS_GAUSSIAN_2M128: 525, "525": "V1_6_PARAM_MESSAGE_7_CARRY_0_KS_PBS_GAUSSIAN_2M128",
22250
+ V1_6_PARAM_MESSAGE_1_CARRY_7_KS_PBS_GAUSSIAN_2M128: 526, "526": "V1_6_PARAM_MESSAGE_1_CARRY_7_KS_PBS_GAUSSIAN_2M128",
22251
+ V1_6_PARAM_MESSAGE_2_CARRY_6_KS_PBS_GAUSSIAN_2M128: 527, "527": "V1_6_PARAM_MESSAGE_2_CARRY_6_KS_PBS_GAUSSIAN_2M128",
22252
+ V1_6_PARAM_MESSAGE_3_CARRY_5_KS_PBS_GAUSSIAN_2M128: 528, "528": "V1_6_PARAM_MESSAGE_3_CARRY_5_KS_PBS_GAUSSIAN_2M128",
22253
+ V1_6_PARAM_MESSAGE_4_CARRY_4_KS_PBS_GAUSSIAN_2M128: 529, "529": "V1_6_PARAM_MESSAGE_4_CARRY_4_KS_PBS_GAUSSIAN_2M128",
22254
+ V1_6_PARAM_MESSAGE_5_CARRY_3_KS_PBS_GAUSSIAN_2M128: 530, "530": "V1_6_PARAM_MESSAGE_5_CARRY_3_KS_PBS_GAUSSIAN_2M128",
22255
+ V1_6_PARAM_MESSAGE_6_CARRY_2_KS_PBS_GAUSSIAN_2M128: 531, "531": "V1_6_PARAM_MESSAGE_6_CARRY_2_KS_PBS_GAUSSIAN_2M128",
22256
+ V1_6_PARAM_MESSAGE_7_CARRY_1_KS_PBS_GAUSSIAN_2M128: 532, "532": "V1_6_PARAM_MESSAGE_7_CARRY_1_KS_PBS_GAUSSIAN_2M128",
22257
+ V1_6_PARAM_MESSAGE_8_CARRY_0_KS_PBS_GAUSSIAN_2M128: 533, "533": "V1_6_PARAM_MESSAGE_8_CARRY_0_KS_PBS_GAUSSIAN_2M128",
22258
+ V1_6_PARAM_MESSAGE_1_CARRY_1_PBS_KS_GAUSSIAN_2M128: 534, "534": "V1_6_PARAM_MESSAGE_1_CARRY_1_PBS_KS_GAUSSIAN_2M128",
22259
+ V1_6_PARAM_MESSAGE_2_CARRY_2_PBS_KS_GAUSSIAN_2M128: 535, "535": "V1_6_PARAM_MESSAGE_2_CARRY_2_PBS_KS_GAUSSIAN_2M128",
22260
+ V1_6_PARAM_MESSAGE_3_CARRY_3_PBS_KS_GAUSSIAN_2M128: 536, "536": "V1_6_PARAM_MESSAGE_3_CARRY_3_PBS_KS_GAUSSIAN_2M128",
22261
+ V1_6_PARAM_MESSAGE_4_CARRY_4_PBS_KS_GAUSSIAN_2M128: 537, "537": "V1_6_PARAM_MESSAGE_4_CARRY_4_PBS_KS_GAUSSIAN_2M128",
22262
+ V1_6_PARAM_MESSAGE_1_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 538, "538": "V1_6_PARAM_MESSAGE_1_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22263
+ V1_6_PARAM_MESSAGE_1_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 539, "539": "V1_6_PARAM_MESSAGE_1_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22264
+ V1_6_PARAM_MESSAGE_1_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 540, "540": "V1_6_PARAM_MESSAGE_1_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22265
+ V1_6_PARAM_MESSAGE_1_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 541, "541": "V1_6_PARAM_MESSAGE_1_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22266
+ V1_6_PARAM_MESSAGE_1_CARRY_6_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 542, "542": "V1_6_PARAM_MESSAGE_1_CARRY_6_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22267
+ V1_6_PARAM_MESSAGE_1_CARRY_7_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 543, "543": "V1_6_PARAM_MESSAGE_1_CARRY_7_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22268
+ V1_6_PARAM_MESSAGE_2_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 544, "544": "V1_6_PARAM_MESSAGE_2_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22269
+ V1_6_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 545, "545": "V1_6_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22270
+ V1_6_PARAM_MESSAGE_2_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 546, "546": "V1_6_PARAM_MESSAGE_2_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22271
+ V1_6_PARAM_MESSAGE_2_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 547, "547": "V1_6_PARAM_MESSAGE_2_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22272
+ V1_6_PARAM_MESSAGE_2_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 548, "548": "V1_6_PARAM_MESSAGE_2_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22273
+ V1_6_PARAM_MESSAGE_2_CARRY_6_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 549, "549": "V1_6_PARAM_MESSAGE_2_CARRY_6_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22274
+ V1_6_PARAM_MESSAGE_3_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 550, "550": "V1_6_PARAM_MESSAGE_3_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22275
+ V1_6_PARAM_MESSAGE_3_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 551, "551": "V1_6_PARAM_MESSAGE_3_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22276
+ V1_6_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 552, "552": "V1_6_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22277
+ V1_6_PARAM_MESSAGE_3_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 553, "553": "V1_6_PARAM_MESSAGE_3_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22278
+ V1_6_PARAM_MESSAGE_3_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 554, "554": "V1_6_PARAM_MESSAGE_3_CARRY_5_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22279
+ V1_6_PARAM_MESSAGE_4_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 555, "555": "V1_6_PARAM_MESSAGE_4_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22280
+ V1_6_PARAM_MESSAGE_4_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 556, "556": "V1_6_PARAM_MESSAGE_4_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22281
+ V1_6_PARAM_MESSAGE_4_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 557, "557": "V1_6_PARAM_MESSAGE_4_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22282
+ V1_6_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 558, "558": "V1_6_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22283
+ V1_6_PARAM_MESSAGE_5_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 559, "559": "V1_6_PARAM_MESSAGE_5_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22284
+ V1_6_PARAM_MESSAGE_5_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 560, "560": "V1_6_PARAM_MESSAGE_5_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22285
+ V1_6_PARAM_MESSAGE_5_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 561, "561": "V1_6_PARAM_MESSAGE_5_CARRY_3_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22286
+ V1_6_PARAM_MESSAGE_6_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 562, "562": "V1_6_PARAM_MESSAGE_6_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22287
+ V1_6_PARAM_MESSAGE_6_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 563, "563": "V1_6_PARAM_MESSAGE_6_CARRY_2_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22288
+ V1_6_PARAM_MESSAGE_7_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128: 564, "564": "V1_6_PARAM_MESSAGE_7_CARRY_1_COMPACT_PK_KS_PBS_GAUSSIAN_2M128",
22289
+ V1_6_PARAM_MESSAGE_1_CARRY_1_COMPACT_PK_PBS_KS_GAUSSIAN_2M128: 565, "565": "V1_6_PARAM_MESSAGE_1_CARRY_1_COMPACT_PK_PBS_KS_GAUSSIAN_2M128",
22290
+ V1_6_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_PBS_KS_GAUSSIAN_2M128: 566, "566": "V1_6_PARAM_MESSAGE_2_CARRY_2_COMPACT_PK_PBS_KS_GAUSSIAN_2M128",
22291
+ V1_6_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_PBS_KS_GAUSSIAN_2M128: 567, "567": "V1_6_PARAM_MESSAGE_3_CARRY_3_COMPACT_PK_PBS_KS_GAUSSIAN_2M128",
22292
+ V1_6_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_PBS_KS_GAUSSIAN_2M128: 568, "568": "V1_6_PARAM_MESSAGE_4_CARRY_4_COMPACT_PK_PBS_KS_GAUSSIAN_2M128",
22169
22293
  });
22170
22294
 
22171
22295
  export class ShortintPublicKey {
@@ -22923,7 +23047,7 @@ export function shortint_params_name(param) {
22923
23047
  let deferred2_0;
22924
23048
  let deferred2_1;
22925
23049
  try {
22926
- const ret = wasm.shortint_params_name(isLikeNone(param) ? 498 : param);
23050
+ const ret = wasm.shortint_params_name(isLikeNone(param) ? 569 : param);
22927
23051
  var ptr1 = ret[0];
22928
23052
  var len1 = ret[1];
22929
23053
  if (ret[3]) {
@@ -23013,89 +23137,88 @@ if (Symbol.dispose) wbg_rayon_PoolBuilder.prototype[Symbol.dispose] = wbg_rayon_
23013
23137
  export function wbg_rayon_start_worker(receiver) {
23014
23138
  wasm.wbg_rayon_start_worker(receiver);
23015
23139
  }
23016
-
23017
23140
  function __wbg_get_imports(memory) {
23018
23141
  const import0 = {
23019
23142
  __proto__: null,
23020
- __wbg_BigInt_7882274c8d2ac74c: function() { return handleError(function (arg0) {
23143
+ __wbg_BigInt_65bcea251e788083: function(arg0) {
23021
23144
  const ret = BigInt(arg0);
23022
23145
  return ret;
23023
- }, arguments); },
23024
- __wbg_BigInt_dea56efbbd197f86: function(arg0) {
23146
+ },
23147
+ __wbg_BigInt_ccbca793f456e582: function() { return handleError(function (arg0) {
23025
23148
  const ret = BigInt(arg0);
23026
23149
  return ret;
23027
- },
23028
- __wbg_Error_83742b46f01ce22d: function(arg0, arg1) {
23150
+ }, arguments); },
23151
+ __wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
23029
23152
  const ret = Error(getStringFromWasm0(arg0, arg1));
23030
23153
  return ret;
23031
23154
  },
23032
- __wbg___wbindgen_bigint_get_as_i64_447a76b5c6ef7bda: function(arg0, arg1) {
23155
+ __wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
23033
23156
  const v = arg1;
23034
23157
  const ret = typeof(v) === 'bigint' ? v : undefined;
23035
23158
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
23036
23159
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
23037
23160
  },
23038
- __wbg___wbindgen_bit_and_dba6f4f3921eb91f: function(arg0, arg1) {
23161
+ __wbg___wbindgen_bit_and_96f696c56b4950d5: function(arg0, arg1) {
23039
23162
  const ret = arg0 & arg1;
23040
23163
  return ret;
23041
23164
  },
23042
- __wbg___wbindgen_bit_or_d52c1d490c34939f: function(arg0, arg1) {
23165
+ __wbg___wbindgen_bit_or_d564c2751fdac6c9: function(arg0, arg1) {
23043
23166
  const ret = arg0 | arg1;
23044
23167
  return ret;
23045
23168
  },
23046
- __wbg___wbindgen_debug_string_5398f5bb970e0daa: function(arg0, arg1) {
23169
+ __wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
23047
23170
  const ret = debugString(arg1);
23048
23171
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
23049
23172
  const len1 = WASM_VECTOR_LEN;
23050
23173
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
23051
23174
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
23052
23175
  },
23053
- __wbg___wbindgen_is_function_3c846841762788c1: function(arg0) {
23176
+ __wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
23054
23177
  const ret = typeof(arg0) === 'function';
23055
23178
  return ret;
23056
23179
  },
23057
- __wbg___wbindgen_is_object_781bc9f159099513: function(arg0) {
23180
+ __wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
23058
23181
  const val = arg0;
23059
23182
  const ret = typeof(val) === 'object' && val !== null;
23060
23183
  return ret;
23061
23184
  },
23062
- __wbg___wbindgen_is_string_7ef6b97b02428fae: function(arg0) {
23185
+ __wbg___wbindgen_is_string_6df3bf7ef1164ed3: function(arg0) {
23063
23186
  const ret = typeof(arg0) === 'string';
23064
23187
  return ret;
23065
23188
  },
23066
- __wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
23189
+ __wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
23067
23190
  const ret = arg0 === undefined;
23068
23191
  return ret;
23069
23192
  },
23070
- __wbg___wbindgen_jsval_eq_ee31bfad3e536463: function(arg0, arg1) {
23193
+ __wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
23071
23194
  const ret = arg0 === arg1;
23072
23195
  return ret;
23073
23196
  },
23074
- __wbg___wbindgen_lt_8327de055fabd03f: function(arg0, arg1) {
23197
+ __wbg___wbindgen_lt_78bab382628fb48f: function(arg0, arg1) {
23075
23198
  const ret = arg0 < arg1;
23076
23199
  return ret;
23077
23200
  },
23078
- __wbg___wbindgen_memory_edb3f01e3930bbf6: function() {
23201
+ __wbg___wbindgen_memory_dfa12096f400c9bd: function() {
23079
23202
  const ret = wasm.memory;
23080
23203
  return ret;
23081
23204
  },
23082
- __wbg___wbindgen_module_bf945c07123bafe2: function() {
23205
+ __wbg___wbindgen_module_b5e6fb95dbdb7d7e: function() {
23083
23206
  const ret = wasmModule;
23084
23207
  return ret;
23085
23208
  },
23086
- __wbg___wbindgen_neg_23fd9afe84ba8be3: function(arg0) {
23209
+ __wbg___wbindgen_neg_8d39d23ef65c9fdb: function(arg0) {
23087
23210
  const ret = -arg0;
23088
23211
  return ret;
23089
23212
  },
23090
- __wbg___wbindgen_shl_602e1a0d3a841bf5: function(arg0, arg1) {
23213
+ __wbg___wbindgen_shl_c7ea4173387a1669: function(arg0, arg1) {
23091
23214
  const ret = arg0 << arg1;
23092
23215
  return ret;
23093
23216
  },
23094
- __wbg___wbindgen_shr_2669cdfc0644ce0d: function(arg0, arg1) {
23217
+ __wbg___wbindgen_shr_436553cbaef41a66: function(arg0, arg1) {
23095
23218
  const ret = arg0 >> arg1;
23096
23219
  return ret;
23097
23220
  },
23098
- __wbg___wbindgen_string_get_395e606bd0ee4427: function(arg0, arg1) {
23221
+ __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
23099
23222
  const obj = arg1;
23100
23223
  const ret = typeof(obj) === 'string' ? obj : undefined;
23101
23224
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -23103,10 +23226,10 @@ function __wbg_get_imports(memory) {
23103
23226
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
23104
23227
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
23105
23228
  },
23106
- __wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
23229
+ __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
23107
23230
  throw new Error(getStringFromWasm0(arg0, arg1));
23108
23231
  },
23109
- __wbg_call_2d781c1f4d5c0ef8: function() { return handleError(function (arg0, arg1, arg2) {
23232
+ __wbg_call_a24592a6f349a97e: function() { return handleError(function (arg0, arg1, arg2) {
23110
23233
  const ret = arg0.call(arg1, arg2);
23111
23234
  return ret;
23112
23235
  }, arguments); },
@@ -23128,11 +23251,11 @@ function __wbg_get_imports(memory) {
23128
23251
  __wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
23129
23252
  arg0.getRandomValues(arg1);
23130
23253
  }, arguments); },
23131
- __wbg_getTime_1dad7b5386ddd2d9: function(arg0) {
23254
+ __wbg_getTime_da7c55f52b71e8c6: function(arg0) {
23132
23255
  const ret = arg0.getTime();
23133
23256
  return ret;
23134
23257
  },
23135
- __wbg_instanceof_Window_23e677d2c6843922: function(arg0) {
23258
+ __wbg_instanceof_Window_cc64c86c8ef9e02b: function(arg0) {
23136
23259
  let result;
23137
23260
  try {
23138
23261
  result = arg0 instanceof Window;
@@ -23142,7 +23265,7 @@ function __wbg_get_imports(memory) {
23142
23265
  const ret = result;
23143
23266
  return ret;
23144
23267
  },
23145
- __wbg_length_ea16607d7b61445b: function(arg0) {
23268
+ __wbg_length_9f1775224cf1d815: function(arg0) {
23146
23269
  const ret = arg0.length;
23147
23270
  return ret;
23148
23271
  },
@@ -23150,7 +23273,7 @@ function __wbg_get_imports(memory) {
23150
23273
  const ret = arg0.msCrypto;
23151
23274
  return ret;
23152
23275
  },
23153
- __wbg_new_0_1dcafdf5e786e876: function() {
23276
+ __wbg_new_0_4d657201ced14de3: function() {
23154
23277
  const ret = new Date();
23155
23278
  return ret;
23156
23279
  },
@@ -23158,7 +23281,7 @@ function __wbg_get_imports(memory) {
23158
23281
  const ret = new Error();
23159
23282
  return ret;
23160
23283
  },
23161
- __wbg_new_with_length_825018a1616e9e55: function(arg0) {
23284
+ __wbg_new_with_length_8c854e41ea4dae9b: function(arg0) {
23162
23285
  const ret = new Uint8Array(arg0 >>> 0);
23163
23286
  return ret;
23164
23287
  },
@@ -23170,7 +23293,7 @@ function __wbg_get_imports(memory) {
23170
23293
  const ret = arg0.process;
23171
23294
  return ret;
23172
23295
  },
23173
- __wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
23296
+ __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
23174
23297
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
23175
23298
  },
23176
23299
  __wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
@@ -23191,37 +23314,37 @@ function __wbg_get_imports(memory) {
23191
23314
  const ret = startWorkers(arg0, arg1, wbg_rayon_PoolBuilder.__wrap(arg2));
23192
23315
  return ret;
23193
23316
  },
23194
- __wbg_static_accessor_GLOBAL_8adb955bd33fac2f: function() {
23317
+ __wbg_static_accessor_GLOBAL_8cfadc87a297ca02: function() {
23195
23318
  const ret = typeof global === 'undefined' ? null : global;
23196
23319
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
23197
23320
  },
23198
- __wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913: function() {
23321
+ __wbg_static_accessor_GLOBAL_THIS_602256ae5c8f42cf: function() {
23199
23322
  const ret = typeof globalThis === 'undefined' ? null : globalThis;
23200
23323
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
23201
23324
  },
23202
- __wbg_static_accessor_SELF_f207c857566db248: function() {
23325
+ __wbg_static_accessor_SELF_e445c1c7484aecc3: function() {
23203
23326
  const ret = typeof self === 'undefined' ? null : self;
23204
23327
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
23205
23328
  },
23206
- __wbg_static_accessor_WINDOW_bb9f1ba69d61b386: function() {
23329
+ __wbg_static_accessor_WINDOW_f20e8576ef1e0f17: function() {
23207
23330
  const ret = typeof window === 'undefined' ? null : window;
23208
23331
  return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
23209
23332
  },
23210
- __wbg_subarray_a068d24e39478a8a: function(arg0, arg1, arg2) {
23333
+ __wbg_subarray_f8ca46a25b1f5e0d: function(arg0, arg1, arg2) {
23211
23334
  const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
23212
23335
  return ret;
23213
23336
  },
23214
- __wbg_toString_f3426b54472f960a: function(arg0, arg1, arg2) {
23337
+ __wbg_toString_6dc1a94e0bdba378: function(arg0) {
23338
+ const ret = arg0.toString();
23339
+ return ret;
23340
+ },
23341
+ __wbg_toString_c96dc76d5547a715: function(arg0, arg1, arg2) {
23215
23342
  const ret = arg1.toString(arg2);
23216
23343
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
23217
23344
  const len1 = WASM_VECTOR_LEN;
23218
23345
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
23219
23346
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
23220
23347
  },
23221
- __wbg_toString_fca8b5e46235cfb4: function(arg0) {
23222
- const ret = arg0.toString();
23223
- return ret;
23224
- },
23225
23348
  __wbg_versions_276b2795b1c6a219: function(arg0) {
23226
23349
  const ret = arg0.versions;
23227
23350
  return ret;
package/tfhe_bg.wasm CHANGED
Binary file