@umbra-privacy/sdk 1.0.0 → 2.0.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.
Files changed (181) hide show
  1. package/README.md +104 -25
  2. package/dist/{addresses-Brzgurv_.d.ts → addresses-B7HybtbJ.d.ts} +2 -1
  3. package/dist/{addresses-D_0YAS6B.d.cts → addresses-CTVY1oi7.d.cts} +2 -1
  4. package/dist/arcium-BXXlryfe.d.cts +20 -0
  5. package/dist/arcium-BXXlryfe.d.ts +20 -0
  6. package/dist/chunk-4RHXVBNI.js +203 -0
  7. package/dist/chunk-4RHXVBNI.js.map +1 -0
  8. package/dist/chunk-4TZVXB5G.js +324 -0
  9. package/dist/chunk-4TZVXB5G.js.map +1 -0
  10. package/dist/chunk-5GUSMQ74.cjs +549 -0
  11. package/dist/chunk-5GUSMQ74.cjs.map +1 -0
  12. package/dist/chunk-5KPQXPQM.js +36 -0
  13. package/dist/chunk-5KPQXPQM.js.map +1 -0
  14. package/dist/chunk-AXD7LXYY.cjs +405 -0
  15. package/dist/chunk-AXD7LXYY.cjs.map +1 -0
  16. package/dist/{chunk-HOEXDXRC.cjs → chunk-BL6WXLPV.cjs} +32 -360
  17. package/dist/chunk-BL6WXLPV.cjs.map +1 -0
  18. package/dist/chunk-CFFLOE7D.cjs +598 -0
  19. package/dist/chunk-CFFLOE7D.cjs.map +1 -0
  20. package/dist/{chunk-BM7N6N7E.js → chunk-CFTW5WNG.js} +3 -325
  21. package/dist/chunk-CFTW5WNG.js.map +1 -0
  22. package/dist/chunk-DD2WCK4C.js +327 -0
  23. package/dist/chunk-DD2WCK4C.js.map +1 -0
  24. package/dist/chunk-DMPMQ74B.cjs +246 -0
  25. package/dist/chunk-DMPMQ74B.cjs.map +1 -0
  26. package/dist/{chunk-2Q75CQQJ.js → chunk-EEKF4553.js} +2 -2
  27. package/dist/chunk-EEKF4553.js.map +1 -0
  28. package/dist/chunk-ENVYYEM4.cjs +113 -0
  29. package/dist/chunk-ENVYYEM4.cjs.map +1 -0
  30. package/dist/chunk-FQX6ZYGJ.js +500 -0
  31. package/dist/chunk-FQX6ZYGJ.js.map +1 -0
  32. package/dist/chunk-FSK2ICMB.cjs +39 -0
  33. package/dist/chunk-FSK2ICMB.cjs.map +1 -0
  34. package/dist/chunk-FZYWLQAF.cjs +355 -0
  35. package/dist/chunk-FZYWLQAF.cjs.map +1 -0
  36. package/dist/chunk-GP26R377.js +436 -0
  37. package/dist/chunk-GP26R377.js.map +1 -0
  38. package/dist/chunk-HA5FLM63.js +393 -0
  39. package/dist/chunk-HA5FLM63.js.map +1 -0
  40. package/dist/chunk-INJ73LXQ.js +1107 -0
  41. package/dist/chunk-INJ73LXQ.js.map +1 -0
  42. package/dist/chunk-JPDF7BIT.cjs +10892 -0
  43. package/dist/chunk-JPDF7BIT.cjs.map +1 -0
  44. package/dist/{chunk-MDFSBU5W.cjs → chunk-LTCKPTZC.cjs} +2 -351
  45. package/dist/chunk-LTCKPTZC.cjs.map +1 -0
  46. package/dist/chunk-MKNCBUFA.js +564 -0
  47. package/dist/chunk-MKNCBUFA.js.map +1 -0
  48. package/dist/chunk-NKVMSABR.cjs +207 -0
  49. package/dist/chunk-NKVMSABR.cjs.map +1 -0
  50. package/dist/chunk-OFDWNWCL.js +70 -0
  51. package/dist/chunk-OFDWNWCL.js.map +1 -0
  52. package/dist/chunk-QJAUUYZU.cjs +331 -0
  53. package/dist/chunk-QJAUUYZU.cjs.map +1 -0
  54. package/dist/chunk-RVUYPKKD.js +10750 -0
  55. package/dist/chunk-RVUYPKKD.js.map +1 -0
  56. package/dist/chunk-TLR7A64G.js +103 -0
  57. package/dist/chunk-TLR7A64G.js.map +1 -0
  58. package/dist/{chunk-MVKTV3FT.cjs → chunk-TQQZGNOI.cjs} +2 -2
  59. package/dist/chunk-TQQZGNOI.cjs.map +1 -0
  60. package/dist/chunk-UOFYS6M3.js +219 -0
  61. package/dist/chunk-UOFYS6M3.js.map +1 -0
  62. package/dist/chunk-UXMQI6B7.js +2406 -0
  63. package/dist/chunk-UXMQI6B7.js.map +1 -0
  64. package/dist/chunk-WN75ORDT.js +571 -0
  65. package/dist/chunk-WN75ORDT.js.map +1 -0
  66. package/dist/chunk-Y55PYKXH.cjs +595 -0
  67. package/dist/chunk-Y55PYKXH.cjs.map +1 -0
  68. package/dist/chunk-YEZBTYCP.cjs +77 -0
  69. package/dist/chunk-YEZBTYCP.cjs.map +1 -0
  70. package/dist/chunk-ZQOIYCGA.cjs +1126 -0
  71. package/dist/chunk-ZQOIYCGA.cjs.map +1 -0
  72. package/dist/chunk-ZY3TSHMJ.cjs +2665 -0
  73. package/dist/chunk-ZY3TSHMJ.cjs.map +1 -0
  74. package/dist/client-DkVBHMWb.d.cts +2613 -0
  75. package/dist/client-V4AF6Bz9.d.ts +2613 -0
  76. package/dist/common/pda/index.cjs +145 -0
  77. package/dist/common/pda/index.cjs.map +1 -0
  78. package/dist/common/pda/index.d.cts +1250 -0
  79. package/dist/common/pda/index.d.ts +1250 -0
  80. package/dist/common/pda/index.js +8 -0
  81. package/dist/common/pda/index.js.map +1 -0
  82. package/dist/constants/index.cjs +38 -164
  83. package/dist/constants/index.cjs.map +1 -1
  84. package/dist/constants/index.d.cts +8 -425
  85. package/dist/constants/index.d.ts +8 -425
  86. package/dist/constants/index.js +15 -124
  87. package/dist/constants/index.js.map +1 -1
  88. package/dist/crypto/index.cjs +583 -0
  89. package/dist/crypto/index.cjs.map +1 -0
  90. package/dist/crypto/index.d.cts +6731 -0
  91. package/dist/crypto/index.d.ts +6731 -0
  92. package/dist/crypto/index.js +14 -0
  93. package/dist/crypto/index.js.map +1 -0
  94. package/dist/{cryptography-BTGC72u-.d.ts → cryptography-BFSJcvi6.d.ts} +3 -2465
  95. package/dist/{cryptography-BTGC72u-.d.cts → cryptography-D6tPDh-Y.d.cts} +3 -2465
  96. package/dist/errors/index.cjs +64 -54
  97. package/dist/errors/index.d.cts +7 -797
  98. package/dist/errors/index.d.ts +7 -797
  99. package/dist/errors/index.js +3 -1
  100. package/dist/errors-B9EoPeWV.d.cts +593 -0
  101. package/dist/errors-B9EoPeWV.d.ts +593 -0
  102. package/dist/errors-DAIrstEL.d.cts +300 -0
  103. package/dist/errors-DPNMfyh0.d.ts +300 -0
  104. package/dist/index-BG0yjL7C.d.cts +6006 -0
  105. package/dist/index-ByynoyBO.d.ts +6006 -0
  106. package/dist/index.cjs +5126 -16118
  107. package/dist/index.cjs.map +1 -1
  108. package/dist/index.d.cts +1031 -7685
  109. package/dist/index.d.ts +1031 -7685
  110. package/dist/index.js +3219 -14905
  111. package/dist/index.js.map +1 -1
  112. package/dist/interfaces/index.d.cts +14 -6
  113. package/dist/interfaces/index.d.ts +14 -6
  114. package/dist/interfaces-43cReBcS.d.cts +3346 -0
  115. package/dist/interfaces-B8xKNl_6.d.ts +997 -0
  116. package/dist/interfaces-D2NO6kDD.d.cts +997 -0
  117. package/dist/interfaces-z_xYJlgV.d.ts +3346 -0
  118. package/dist/math/index.cjs +115 -0
  119. package/dist/math/index.cjs.map +1 -0
  120. package/dist/math/index.d.cts +1327 -0
  121. package/dist/math/index.d.ts +1327 -0
  122. package/dist/math/index.js +10 -0
  123. package/dist/math/index.js.map +1 -0
  124. package/dist/networks-RMd3abPE.d.ts +44 -0
  125. package/dist/networks-yAoO8peQ.d.cts +44 -0
  126. package/dist/relayer-NRRMSMNB.js +4 -0
  127. package/dist/relayer-NRRMSMNB.js.map +1 -0
  128. package/dist/relayer-RJHEIXJG.cjs +21 -0
  129. package/dist/relayer-RJHEIXJG.cjs.map +1 -0
  130. package/dist/solana/index.cjs +56 -0
  131. package/dist/solana/index.cjs.map +1 -0
  132. package/dist/solana/index.d.cts +105 -0
  133. package/dist/solana/index.d.ts +105 -0
  134. package/dist/solana/index.js +7 -0
  135. package/dist/solana/index.js.map +1 -0
  136. package/dist/{index-CLj_zWSD.d.ts → temporal-BbRaEPoO.d.ts} +1 -1
  137. package/dist/{index-CX6_pIRS.d.cts → temporal-oUj7iCaq.d.cts} +1 -1
  138. package/dist/transaction-forwarder-5mAMTjw6.d.ts +1155 -0
  139. package/dist/transaction-forwarder-C6gMUG7a.d.cts +1155 -0
  140. package/dist/types/index.cjs +232 -231
  141. package/dist/types/index.d.cts +15 -1485
  142. package/dist/types/index.d.ts +15 -1485
  143. package/dist/types/index.js +2 -1
  144. package/dist/types-BohhvPth.d.cts +87 -0
  145. package/dist/types-CW0oTT0j.d.ts +87 -0
  146. package/dist/types-C_V_CaKK.d.cts +2468 -0
  147. package/dist/types-C_V_CaKK.d.ts +2468 -0
  148. package/dist/types-Ca7frykr.d.ts +793 -0
  149. package/dist/types-CuKeoI19.d.cts +1296 -0
  150. package/dist/types-CxfTIpN9.d.ts +1052 -0
  151. package/dist/{types-n-sHFcgr.d.ts → types-D1jDUjfN.d.ts} +2 -2
  152. package/dist/types-DKEDUlH9.d.ts +1296 -0
  153. package/dist/types-EKuIfxTz.d.cts +1052 -0
  154. package/dist/{types-BBuELtY8.d.cts → types-IMGYmlv-.d.cts} +2 -2
  155. package/dist/types-PwNLi_2k.d.cts +793 -0
  156. package/dist/utils/index.cjs +823 -525
  157. package/dist/utils/index.d.cts +1711 -4021
  158. package/dist/utils/index.d.ts +1711 -4021
  159. package/dist/utils/index.js +9 -3
  160. package/dist/{versions-D9PqsEvj.d.cts → versions-BRlR36EA.d.cts} +1 -0
  161. package/dist/{versions-D9PqsEvj.d.ts → versions-BRlR36EA.d.ts} +1 -0
  162. package/package.json +79 -18
  163. package/dist/chunk-2Q75CQQJ.js.map +0 -1
  164. package/dist/chunk-BM7N6N7E.js.map +0 -1
  165. package/dist/chunk-GXKSUB2U.cjs +0 -4416
  166. package/dist/chunk-GXKSUB2U.cjs.map +0 -1
  167. package/dist/chunk-HOEXDXRC.cjs.map +0 -1
  168. package/dist/chunk-MDFSBU5W.cjs.map +0 -1
  169. package/dist/chunk-MQY7HDIA.js +0 -600
  170. package/dist/chunk-MQY7HDIA.js.map +0 -1
  171. package/dist/chunk-MVKTV3FT.cjs.map +0 -1
  172. package/dist/chunk-PG2J6V6Y.js +0 -4094
  173. package/dist/chunk-PG2J6V6Y.js.map +0 -1
  174. package/dist/chunk-VEGLTTYQ.cjs +0 -621
  175. package/dist/chunk-VEGLTTYQ.cjs.map +0 -1
  176. package/dist/chunk-WVHQ46DD.js +0 -758
  177. package/dist/chunk-WVHQ46DD.js.map +0 -1
  178. package/dist/index-B9pDY73x.d.ts +0 -12933
  179. package/dist/index-D33yo0qB.d.cts +0 -12933
  180. package/dist/networks-C-orpSFW.d.ts +0 -65
  181. package/dist/networks-FxYERGD1.d.cts +0 -65
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/constants/domain-separators.ts","../../src/constants/encryption-counts.ts","../../src/umbra/constants.ts"],"names":[],"mappings":";;;;;;AAyCO,SAAS,4BAA4B,SAAA,EAA6C;AACvF,EAAA,OAAO;AAAA,IACL,kBAAA,EAAoB,QAAQ,SAAS,CAAA,0BAAA,CAAA;AAAA,IACrC,kBAAA,EAAoB,QAAQ,SAAS,CAAA,0BAAA;AAAA,GACvC;AACF;AALgB,MAAA,CAAA,2BAAA,EAAA,6BAAA,CAAA;AAcT,IAAM,aAAA,GAAgB;AAAA;AAAA,EAE3B,kCAAA,EAAoC,4BAA4B,oCAAoC,CAAA;AAAA;AAAA,EAEpG,qCAAA,EAAuC,4BAA4B,uCAAuC,CAAA;AAAA;AAAA,EAE1G,yCAAA,EAA2C,4BAA4B,2CAA2C;AACpH;AASO,IAAM,wBAAA,GAA2B;AAAA;AAAA,EAEtC,kCAAA,EAAoC,oEAAA;AAAA;AAAA,EAEpC,yCAAA,EAA2C;AAC7C;AASO,IAAM,qBAAA,GAAwB;AAAA;AAAA,EAEnC,kCAAA,EAAoC,0EAAA;AAAA;AAAA,EAEpC,yCAAA,EAA2C;AAC7C;AASO,IAAM,yBAAA,GAA4B;AAAA;AAAA,EAEvC,kCAAA,EAAoC,+EAAA;AAAA;AAAA,EAEpC,yCAAA,EAA2C;AAC7C;;;ACzFO,IAAM,2BAAA,GAA8B;AAAA;AAAA;AAAA;AAAA;AAAA,EAKzC,QAAA,EAAU,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKV,QAAA,EAAU;AACZ;AASO,IAAM,wBAAA,GAA2B;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtC,YAAA,EAAc,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKd,SAAA,EAAW;AACb;AASO,IAAM,sBAAA,GAAyB;AAK/B,IAAM,2BAAA,GAA8B;AAAA;AAAA,EAEzC,GAAA,EAAK,EAAA;AAAA;AAAA,EAEL,GAAA,EAAK;AACP;;;ACHO,IAAM,qBAAA,GAAwB;AAAA;;AAAA;AAAA;AAwD9B,IAAM,YAAA,GAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAU1B,QAAA,EAAU,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUV,GAAA,EAAK,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASL,WAAA,EAAa,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUb,WAAA,EAAa,OAAO,SAAS;AAC/B;AAwCO,IAAM,WAAA,GAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASzB,QAAA,EAAU,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUV,GAAA,EAAK,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAML,WAAA,EAAa,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUb,WAAA,EAAa,OAAO,SAAS;AAC/B;AAyCO,IAAM,WAAA,GAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUzB,kBAAA,EAAoB,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASpB,oBAAA,EAAsB,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUtB,mBAAA,EAAqB;AACvB;AAgCO,IAAM,WAAA,GAAc","file":"index.js","sourcesContent":["/**\n * Domain Separator Constants\n *\n * Domain separators for cryptographic operations in claim functions.\n * These are used as keys in KMAC256 for domain separation.\n *\n * @module constants/domain-separators\n */\n\n/* =============================================================================\n * CLAIM DOMAIN SEPARATOR TYPES\n * ============================================================================= */\n\n/**\n * Types of claim operations that require domain separators.\n */\nexport type ClaimType =\n | \"SelfClaimableUtxoIntoPublicBalance\"\n | \"SelfClaimableUtxoIntoEncryptedBalance\"\n | \"ReceiverClaimableUtxoIntoEncryptedBalance\";\n\n/**\n * Domain separator pair for claim operations.\n */\nexport interface ClaimDomainSeparators {\n /** Domain separator for modified generation index derivation */\n readonly MODIFIED_GEN_INDEX: string;\n /** Domain separator for expanded generation index derivation */\n readonly EXPANDED_GEN_INDEX: string;\n}\n\n/* =============================================================================\n * DOMAIN SEPARATOR FACTORY\n * ============================================================================= */\n\n/**\n * Creates domain separators for a specific claim type.\n *\n * @param claimType - The type of claim operation\n * @returns Domain separator pair for the claim type\n */\nexport function createClaimDomainSeparators(claimType: ClaimType): ClaimDomainSeparators {\n return {\n MODIFIED_GEN_INDEX: `Claim${claimType} / modifiedGenerationIndex`,\n EXPANDED_GEN_INDEX: `Claim${claimType} / expandedGenerationIndex`,\n } as const;\n}\n\n/* =============================================================================\n * PRE-BUILT DOMAIN SEPARATORS\n * ============================================================================= */\n\n/**\n * Pre-built domain separators for all claim types.\n */\nexport const CLAIM_DOMAINS = {\n /** Domain separators for self-claimable UTXO claims into public balance */\n SELF_CLAIMABLE_INTO_PUBLIC_BALANCE: createClaimDomainSeparators(\"SelfClaimableUtxoIntoPublicBalance\"),\n /** Domain separators for self-claimable UTXO claims into encrypted balance */\n SELF_CLAIMABLE_INTO_ENCRYPTED_BALANCE: createClaimDomainSeparators(\"SelfClaimableUtxoIntoEncryptedBalance\"),\n /** Domain separators for receiver-claimable UTXO claims into encrypted balance */\n RECEIVER_CLAIMABLE_INTO_ENCRYPTED_BALANCE: createClaimDomainSeparators(\"ReceiverClaimableUtxoIntoEncryptedBalance\"),\n} as const;\n\n/* =============================================================================\n * LINKER KEYSTREAM DOMAIN SEPARATORS\n * ============================================================================= */\n\n/**\n * Domain separators for linker keystream blinding factor derivation.\n */\nexport const LINKER_KEYSTREAM_DOMAINS = {\n /** Self-claimable UTXO claim into public balance */\n SELF_CLAIMABLE_INTO_PUBLIC_BALANCE: \"selfClaimableUtxoIntoPublicBalance / linkerKeystreamBlindingFactor\",\n /** Receiver-claimable UTXO claim into encrypted balance (also used for self-claimable into encrypted balance) */\n RECEIVER_CLAIMABLE_INTO_ENCRYPTED_BALANCE: \"receiverClaimableUtxoIntoEncryptedBalance / linkerKeystreamBlindingFactor\",\n} as const;\n\n/* =============================================================================\n * RANDOM FACTOR DOMAIN SEPARATORS\n * ============================================================================= */\n\n/**\n * Domain separators for random factor generation in polynomial commitment.\n */\nexport const RANDOM_FACTOR_DOMAINS = {\n /** Self-claimable UTXO claim into public balance */\n SELF_CLAIMABLE_INTO_PUBLIC_BALANCE: \"selfClaimableUtxoIntoPublicBalance / randomFactorForPolynomialCommitment\",\n /** Receiver-claimable UTXO claim into encrypted balance (also used for self-claimable into encrypted balance) */\n RECEIVER_CLAIMABLE_INTO_ENCRYPTED_BALANCE: \"receiverClaimableUtxoIntoEncryptedBalance / randomFactorForPolynomialCommitment\",\n} as const;\n\n/* =============================================================================\n * RESCUE ENCRYPTION COMMITMENT DOMAIN SEPARATORS\n * ============================================================================= */\n\n/**\n * Domain separators for rescue encryption commitment blinding factor derivation.\n */\nexport const RESCUE_COMMITMENT_DOMAINS = {\n /** Self-claimable UTXO claim into public balance */\n SELF_CLAIMABLE_INTO_PUBLIC_BALANCE: \"selfClaimableUtxoIntoPublicBalance / rescueEncryptionCommitmentBlindingFactor\",\n /** Receiver-claimable UTXO claim into encrypted balance (also used for self-claimable into encrypted balance) */\n RECEIVER_CLAIMABLE_INTO_ENCRYPTED_BALANCE: \"receiverClaimableUtxoIntoEncryptedBalance / rescueEncryptionCommitmentBlindingFactor\",\n} as const;\n","/**\n * Encryption Count Constants\n *\n * Constants for encryption operations in claim circuits.\n *\n * @module constants/encryption-counts\n */\n\n/* =============================================================================\n * LINKER ENCRYPTION CONSTANTS\n * ============================================================================= */\n\n/**\n * Number of linker encryptions per leaf for different claim types.\n */\nexport const LINKER_ENCRYPTIONS_PER_LEAF = {\n /**\n * ATA claims - excludes amount encryption (amounts are public).\n * Encrypts: senderAddressLow, senderAddressHigh, mintAddressLow, mintAddressHigh, leafCommitment\n */\n INTO_ATA: 5,\n /**\n * ETA claims - includes amount encryption.\n * Encrypts: senderAddressLow, senderAddressHigh, amount, mintAddressLow, mintAddressHigh, leafCommitment\n */\n INTO_ETA: 6,\n} as const;\n\n/* =============================================================================\n * RESCUE CIPHER ENCRYPTION CONSTANTS\n * ============================================================================= */\n\n/**\n * Number of rescue cipher encryptions for different claim types.\n */\nexport const RESCUE_ENCRYPTIONS_COUNT = {\n /**\n * ATA claims - no fee encryption (amounts are public).\n * Encrypts: mvkLow, mvkHigh, randomFactorLow, randomFactorHigh\n */\n WITHOUT_FEES: 4,\n /**\n * ETA claims - includes fee encryption.\n * Encrypts: finalAmount, protocolFees, relayerFees, mvkLow, mvkHigh, randomFactorLow, randomFactorHigh\n */\n WITH_FEES: 7,\n} as const;\n\n/* =============================================================================\n * CRYPTOGRAPHIC OUTPUT CONSTANTS\n * ============================================================================= */\n\n/**\n * KMAC256 output length for 512-bit (64 bytes) output.\n */\nexport const KMAC_512_OUTPUT_LENGTH = 64;\n\n/**\n * Number of elements in the public aggregated hash input array.\n */\nexport const AGGREGATED_HASH_INPUT_COUNT = {\n /** ATA claims use 45 elements */\n ATA: 45,\n /** ETA claims use 70 elements */\n ETA: 70,\n} as const;\n","/**\n * Umbra Protocol Constants\n *\n * Defines the configuration constants used when building and validating Umbra protocol\n * instructions on the client side. These constants mirror on-chain values defined in the\n * Anchor program (`programs/umbra/src/`) and must be kept in sync with that source of\n * truth.\n *\n * ## Sections\n *\n * - **Message signing** — the canonical warning text presented to users before their\n * wallet signature is used to derive the master private key.\n * - **Protocol fee configuration** — the fee schedule applied to the protocol's share\n * of each claim or transfer. Set by program admin, enforced on-chain.\n * - **Relayer fee configuration** — the fee schedule applied to the relayer's commission\n * on claim and transfer instructions. Set per-relayer.\n * - **Fee offset configuration** — the `offset` discriminators used when deriving PDAs\n * for fee-related accounts.\n * - **BPS divisor** — the basis-point denominator used in fee arithmetic.\n *\n * @packageDocumentation\n * @module umbra/constants\n */\n\n/* =============================================================================\n * UMBRA PROTOCOL CONSTANTS\n * ============================================================================= */\n\n/**\n * Canonical message shown to the user before their wallet signature is requested for\n * master key derivation.\n *\n * @remarks\n * Signing this message is the root of the user's key hierarchy. The resulting signature\n * is fed into the SDK's key derivation pipeline to produce the `MasterSeed`, from which\n * all spending keys, viewing keys, and Poseidon private keys are derived.\n *\n * The message is deliberately verbose and alarming to ensure that:\n * 1. Users understand the cryptographic weight of their signature.\n * 2. Phishing sites that silently request this signature cannot hide the operation from\n * an attentive user.\n *\n * The exact string (including surrounding newlines) must not be modified without a\n * corresponding protocol upgrade, because changing the message changes all derived keys\n * for every existing user.\n *\n * @example\n * ```typescript\n * import { UMBRA_MESSAGE_TO_SIGN } from \"@umbra-privacy/sdk\";\n * import { signMessage } from \"@solana/kit\";\n *\n * // Present to the user before requesting their signature:\n * console.log(UMBRA_MESSAGE_TO_SIGN);\n *\n * // Obtain the signature and pass it to the key derivation pipeline:\n * const signature = await signer.signMessage(\n * new TextEncoder().encode(UMBRA_MESSAGE_TO_SIGN)\n * );\n * ```\n *\n * @public\n */\nexport const UMBRA_MESSAGE_TO_SIGN = `\nSigning this message is a sensitive cryptographic operation that generates the master key used to derive your private spending keys and decrypt your account balances. This signature acts as the root of your privacy and financial security within the Umbra ecosystem.\n\nYou must ensure that you are interacting with the official Umbra Privacy application or a verified integration. Signing this message on an unverified or malicious site could allow an attacker to gain full control over your funds and expose your entire transaction history.\n`;\n\n/* =============================================================================\n * PROTOCOL FEE CONFIGURATION\n * ============================================================================= */\n\n/**\n * Default fee schedule applied to the protocol's share of each claim or transfer\n * instruction.\n *\n * @remarks\n * These values mirror the `ProtocolFeesConfiguration` account that is written by the\n * program admin during pool setup. The SDK uses them client-side to:\n *\n * 1. Pre-calculate expected fee amounts before building a transaction, so callers can\n * display accurate fee estimates in the UI.\n * 2. Compute the amount of tokens the user actually receives after fees are deducted\n * from the claimed UTXO.\n *\n * The on-chain program independently validates the actual fee config account, so these\n * client-side defaults act as a best-effort estimate rather than an authoritative source.\n * If the admin updates fee parameters on-chain, callers should fetch the live\n * `ProtocolFeesConfiguration` PDA and override these defaults.\n *\n * ## Fee formula\n *\n * ```\n * fee = clamp(BASE_FEE + floor(amount * BPS / BPS_DIVISOR), LOWER_BOUND, UPPER_BOUND)\n * ```\n *\n * Where `BPS_DIVISOR = 10_000n` (see {@link BPS_DIVISOR}).\n *\n * @example\n * ```typescript\n * import { PROTOCOL_FEE, BPS_DIVISOR } from \"@umbra-privacy/sdk\";\n *\n * function estimateProtocolFee(amount: bigint): bigint {\n * const bpsFee = (amount * PROTOCOL_FEE.BPS) / BPS_DIVISOR;\n * const rawFee = PROTOCOL_FEE.BASE_FEE + bpsFee;\n * const clamped = rawFee < PROTOCOL_FEE.LOWER_BOUND\n * ? PROTOCOL_FEE.LOWER_BOUND\n * : rawFee > PROTOCOL_FEE.UPPER_BOUND\n * ? PROTOCOL_FEE.UPPER_BOUND\n * : rawFee;\n * return clamped;\n * }\n * ```\n *\n * @see {@link RELAYER_FEE} for the relayer's fee schedule.\n * @see {@link BPS_DIVISOR} for the basis-point denominator.\n * @public\n */\nexport const PROTOCOL_FEE = {\n /**\n * Fixed base fee charged per operation, denominated in the SPL token's smallest unit.\n *\n * @remarks\n * Added to the proportional BPS fee before clamping. A value of `10n` means 10\n * token micro-units (e.g. 0.00001 USDC for a 6-decimal token).\n *\n * @readonly\n */\n BASE_FEE: 10n,\n /**\n * Proportional fee rate expressed in basis points (1 BPS = 0.01%).\n *\n * @remarks\n * `35n` corresponds to 0.35%. Applied to the claimed or transferred amount before\n * adding `BASE_FEE` and clamping to `[LOWER_BOUND, UPPER_BOUND]`.\n *\n * @readonly\n */\n BPS: 35n,\n /**\n * Minimum fee amount. The total fee is never less than this value.\n *\n * @remarks\n * Currently `0n`, meaning there is no enforced minimum beyond the `BASE_FEE`.\n *\n * @readonly\n */\n LOWER_BOUND: 0n,\n /**\n * Maximum fee amount (cap). The total fee is never greater than this value.\n *\n * @remarks\n * Set to `1_000_000n` (one million token micro-units), which equals 1 USDC for a\n * 6-decimal token. This cap prevents runaway fees on very large claims.\n *\n * @readonly\n */\n UPPER_BOUND: BigInt(\"1000000\"),\n} as const;\n\n/* =============================================================================\n * RELAYER FEE CONFIGURATION\n * ============================================================================= */\n\n/**\n * Default fee schedule applied to the relayer's commission on each claim or transfer\n * instruction that involves a relayer.\n *\n * @remarks\n * These values mirror the `RelayerFeesConfiguration` account associated with a specific\n * relayer. The SDK uses them client-side for fee estimation and for constructing the\n * `expected_fee` field that is verified on-chain during MPC computation.\n *\n * Note that `BASE_FEE` is `0n` for relayers by default — relayers are compensated\n * entirely through the proportional BPS component, unlike the protocol which charges a\n * fixed base fee on top of BPS.\n *\n * ## Fee formula\n *\n * ```\n * relayerFee = clamp(BASE_FEE + floor(amount * BPS / BPS_DIVISOR), LOWER_BOUND, UPPER_BOUND)\n * ```\n *\n * @example\n * ```typescript\n * import { RELAYER_FEE, BPS_DIVISOR } from \"@umbra-privacy/sdk\";\n *\n * function estimateRelayerFee(amount: bigint): bigint {\n * const bpsFee = (amount * RELAYER_FEE.BPS) / BPS_DIVISOR;\n * const rawFee = RELAYER_FEE.BASE_FEE + bpsFee;\n * return rawFee > RELAYER_FEE.UPPER_BOUND ? RELAYER_FEE.UPPER_BOUND : rawFee;\n * }\n * ```\n *\n * @see {@link PROTOCOL_FEE} for the protocol's fee schedule.\n * @see {@link BPS_DIVISOR} for the basis-point denominator.\n * @public\n */\nexport const RELAYER_FEE = {\n /**\n * Fixed base fee for relayer operations, denominated in the SPL token's smallest unit.\n *\n * @remarks\n * `0n` — relayers do not charge a fixed base fee; they earn purely through BPS.\n *\n * @readonly\n */\n BASE_FEE: 0n,\n /**\n * Proportional fee rate for the relayer, expressed in basis points (1 BPS = 0.01%).\n *\n * @remarks\n * `35n` corresponds to 0.35%. The relayer earns this percentage of the claimed amount\n * as compensation for submitting and funding the MPC callback transaction.\n *\n * @readonly\n */\n BPS: 35n,\n /**\n * Minimum relayer fee. Currently `0n`.\n *\n * @readonly\n */\n LOWER_BOUND: 0n,\n /**\n * Maximum relayer fee (cap). `1_000_000n` token micro-units.\n *\n * @remarks\n * Mirrors the protocol fee cap to ensure the combined fee never exceeds a predictable\n * maximum, protecting users from paying unexpectedly large fees on large claims.\n *\n * @readonly\n */\n UPPER_BOUND: BigInt(\"1000000\"),\n} as const;\n\n/* =============================================================================\n * FEE OFFSET CONFIGURATION\n * ============================================================================= */\n\n/**\n * Offset discriminators used when deriving PDAs for fee-related on-chain accounts.\n *\n * @remarks\n * The Umbra program uses an `offset` field in PDA seeds to allow multiple independent\n * instances of the same account type to coexist (e.g. multiple fee pools for future\n * protocol versions). The offset is encoded as a `U128` little-endian byte array and\n * appended as the final seed when calling `getProgramDerivedAddress`.\n *\n * All offsets are currently `0n` because the protocol uses a single canonical instance\n * of each fee account type. Future upgrades may introduce non-zero offsets for versioned\n * account sets.\n *\n * These values are passed directly to PDA derivation helpers such as\n * `getProtocolOnlyUnifiedFeesPoolPda`, `getRelayerUnifiedFeesPoolPda`, and\n * `getProtocolFeesConfigurationPda`.\n *\n * @example\n * ```typescript\n * import { FEE_OFFSETS } from \"@umbra-privacy/sdk\";\n * import { getProtocolFeesConfigurationPda } from \"@umbra-privacy/sdk/pda\";\n *\n * const [feeConfigPda] = await getProtocolFeesConfigurationPda(\n * instructionSeed as U128,\n * mintAddress,\n * FEE_OFFSETS.PROTOCOL_FEES_CONFIG as U128,\n * programId,\n * );\n * ```\n *\n * @see {@link getProtocolOnlyUnifiedFeesPoolPda} for protocol-only pool PDA derivation.\n * @see {@link getRelayerUnifiedFeesPoolPda} for relayer pool PDA derivation.\n * @see {@link getProtocolFeesConfigurationPda} for fee config PDA derivation.\n * @public\n */\nexport const FEE_OFFSETS = {\n /**\n * Offset used in `UnifiedFeesPool` PDA derivation for the unified protocol fees pool.\n *\n * @remarks\n * Passed as the final seed to `getProtocolOnlyUnifiedFeesPoolPda` and\n * `getRelayerUnifiedFeesPoolPda`. Currently `0n`.\n *\n * @readonly\n */\n PROTOCOL_FEES_POOL: 0n,\n /**\n * Offset used in `ProtocolFeesConfiguration` PDA derivation.\n *\n * @remarks\n * Passed as the final seed to `getProtocolFeesConfigurationPda`. Currently `0n`.\n *\n * @readonly\n */\n PROTOCOL_FEES_CONFIG: 0n,\n /**\n * Offset used in relayer fee configuration PDA derivation.\n *\n * @remarks\n * Passed as the offset seed when looking up the relayer's fee configuration account.\n * Currently `0n`.\n *\n * @readonly\n */\n RELAYER_FEES_CONFIG: 0n,\n} as const;\n\n/* =============================================================================\n * FEE CALCULATION CONSTANTS\n * ============================================================================= */\n\n/**\n * Denominator for basis-point fee calculations.\n *\n * @remarks\n * Basis points (BPS) express a fee rate as an integer fraction of 10,000.\n * For example, 35 BPS = 35 / 10,000 = 0.35%.\n *\n * To convert a BPS fee rate to a proportional fee amount:\n * ```\n * proportionalFee = floor(amount * bps / BPS_DIVISOR)\n * ```\n *\n * Using integer division (`/` on `bigint`) automatically floors the result, which is\n * the correct behaviour for fee deductions (always round down in favour of the user).\n *\n * @example\n * ```typescript\n * import { BPS_DIVISOR, PROTOCOL_FEE } from \"@umbra-privacy/sdk\";\n *\n * const amount = 1_000_000n; // 1 USDC in micro-units\n * const proportionalFee = (amount * PROTOCOL_FEE.BPS) / BPS_DIVISOR;\n * // proportionalFee = 1_000_000n * 35n / 10_000n = 3_500n (0.0035 USDC)\n * ```\n *\n * @public\n */\nexport const BPS_DIVISOR = 10_000n;\n"]}
1
+ {"version":3,"sources":["../../src/constants/domain-separators.ts","../../src/constants/encryption-counts.ts"],"names":[],"mappings":";;;;;;;;AA0CO,SAAS,4BAA4B,SAAA,EAA6C;AACvF,EAAA,OAAO;AAAA,IACL,kBAAA,EAAoB,QAAQ,SAAS,CAAA,0BAAA,CAAA;AAAA,IACrC,kBAAA,EAAoB,QAAQ,SAAS,CAAA,0BAAA;AAAA,GACvC;AACF;AALgB,MAAA,CAAA,2BAAA,EAAA,6BAAA,CAAA;AAcT,IAAM,aAAA,GAAgB;AAAA;AAAA,EAE3B,kCAAA,EAAoC,2BAAA;AAAA,IAClC;AAAA,GACF;AAAA;AAAA,EAEA,qCAAA,EAAuC,2BAAA;AAAA,IACrC;AAAA,GACF;AAAA;AAAA,EAEA,yCAAA,EAA2C,2BAAA;AAAA,IACzC;AAAA;AAEJ;AASO,IAAM,wBAAA,GAA2B;AAAA;AAAA,EAEtC,kCAAA,EACE,oEAAA;AAAA;AAAA,EAEF,yCAAA,EACE;AACJ;AASO,IAAM,qBAAA,GAAwB;AAAA;AAAA,EAEnC,kCAAA,EACE,0EAAA;AAAA;AAAA,EAEF,yCAAA,EACE;AACJ;AASO,IAAM,yBAAA,GAA4B;AAAA;AAAA,EAEvC,kCAAA,EACE,+EAAA;AAAA;AAAA,EAEF,yCAAA,EACE;AACJ;;;ACrGO,IAAM,2BAAA,GAA8B;AAAA;AAAA;AAAA;AAAA;AAAA,EAKzC,QAAA,EAAU,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKV,QAAA,EAAU;AACZ;AASO,IAAM,wBAAA,GAA2B;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtC,YAAA,EAAc,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKd,SAAA,EAAW;AACb;AASO,IAAM,sBAAA,GAAyB;AAK/B,IAAM,2BAAA,GAA8B;AAAA;AAAA,EAEzC,GAAA,EAAK,EAAA;AAAA;AAAA,EAEL,GAAA,EAAK;AACP","file":"index.js","sourcesContent":["/**\n * Domain Separator Constants\n *\n * Domain separators for cryptographic operations in claim functions.\n * These are used as keys in KMAC256 for domain separation.\n *\n * @since 2.0.0\n * @module constants/domain-separators\n */\n\n/* =============================================================================\n * CLAIM DOMAIN SEPARATOR TYPES\n * ============================================================================= */\n\n/**\n * Types of claim operations that require domain separators.\n */\nexport type ClaimType =\n | \"SelfClaimableUtxoIntoPublicBalance\"\n | \"SelfClaimableUtxoIntoEncryptedBalance\"\n | \"ReceiverClaimableUtxoIntoEncryptedBalance\";\n\n/**\n * Domain separator pair for claim operations.\n */\nexport interface ClaimDomainSeparators {\n /** Domain separator for modified generation index derivation */\n readonly MODIFIED_GEN_INDEX: string;\n /** Domain separator for expanded generation index derivation */\n readonly EXPANDED_GEN_INDEX: string;\n}\n\n/* =============================================================================\n * DOMAIN SEPARATOR FACTORY\n * ============================================================================= */\n\n/**\n * Creates domain separators for a specific claim type.\n *\n * @param claimType - The type of claim operation\n * @returns Domain separator pair for the claim type\n */\nexport function createClaimDomainSeparators(claimType: ClaimType): ClaimDomainSeparators {\n return {\n MODIFIED_GEN_INDEX: `Claim${claimType} / modifiedGenerationIndex`,\n EXPANDED_GEN_INDEX: `Claim${claimType} / expandedGenerationIndex`,\n } as const;\n}\n\n/* =============================================================================\n * PRE-BUILT DOMAIN SEPARATORS\n * ============================================================================= */\n\n/**\n * Pre-built domain separators for all claim types.\n */\nexport const CLAIM_DOMAINS = {\n /** Domain separators for self-claimable UTXO claims into public balance */\n SELF_CLAIMABLE_INTO_PUBLIC_BALANCE: createClaimDomainSeparators(\n \"SelfClaimableUtxoIntoPublicBalance\",\n ),\n /** Domain separators for self-claimable UTXO claims into encrypted balance */\n SELF_CLAIMABLE_INTO_ENCRYPTED_BALANCE: createClaimDomainSeparators(\n \"SelfClaimableUtxoIntoEncryptedBalance\",\n ),\n /** Domain separators for receiver-claimable UTXO claims into encrypted balance */\n RECEIVER_CLAIMABLE_INTO_ENCRYPTED_BALANCE: createClaimDomainSeparators(\n \"ReceiverClaimableUtxoIntoEncryptedBalance\",\n ),\n} as const;\n\n/* =============================================================================\n * LINKER KEYSTREAM DOMAIN SEPARATORS\n * ============================================================================= */\n\n/**\n * Domain separators for linker keystream blinding factor derivation.\n */\nexport const LINKER_KEYSTREAM_DOMAINS = {\n /** Self-claimable UTXO claim into public balance */\n SELF_CLAIMABLE_INTO_PUBLIC_BALANCE:\n \"selfClaimableUtxoIntoPublicBalance / linkerKeystreamBlindingFactor\",\n /** Receiver-claimable UTXO claim into encrypted balance (also used for self-claimable into encrypted balance) */\n RECEIVER_CLAIMABLE_INTO_ENCRYPTED_BALANCE:\n \"receiverClaimableUtxoIntoEncryptedBalance / linkerKeystreamBlindingFactor\",\n} as const;\n\n/* =============================================================================\n * RANDOM FACTOR DOMAIN SEPARATORS\n * ============================================================================= */\n\n/**\n * Domain separators for random factor generation in polynomial commitment.\n */\nexport const RANDOM_FACTOR_DOMAINS = {\n /** Self-claimable UTXO claim into public balance */\n SELF_CLAIMABLE_INTO_PUBLIC_BALANCE:\n \"selfClaimableUtxoIntoPublicBalance / randomFactorForPolynomialCommitment\",\n /** Receiver-claimable UTXO claim into encrypted balance (also used for self-claimable into encrypted balance) */\n RECEIVER_CLAIMABLE_INTO_ENCRYPTED_BALANCE:\n \"receiverClaimableUtxoIntoEncryptedBalance / randomFactorForPolynomialCommitment\",\n} as const;\n\n/* =============================================================================\n * RESCUE ENCRYPTION COMMITMENT DOMAIN SEPARATORS\n * ============================================================================= */\n\n/**\n * Domain separators for rescue encryption commitment blinding factor derivation.\n */\nexport const RESCUE_COMMITMENT_DOMAINS = {\n /** Self-claimable UTXO claim into public balance */\n SELF_CLAIMABLE_INTO_PUBLIC_BALANCE:\n \"selfClaimableUtxoIntoPublicBalance / rescueEncryptionCommitmentBlindingFactor\",\n /** Receiver-claimable UTXO claim into encrypted balance (also used for self-claimable into encrypted balance) */\n RECEIVER_CLAIMABLE_INTO_ENCRYPTED_BALANCE:\n \"receiverClaimableUtxoIntoEncryptedBalance / rescueEncryptionCommitmentBlindingFactor\",\n} as const;\n","/**\n * Encryption Count Constants\n *\n * Constants for encryption operations in claim circuits.\n *\n * @since 2.0.0\n * @module constants/encryption-counts\n */\n\n/* =============================================================================\n * LINKER ENCRYPTION CONSTANTS\n * ============================================================================= */\n\n/**\n * Number of linker encryptions per leaf for different claim types.\n */\nexport const LINKER_ENCRYPTIONS_PER_LEAF = {\n /**\n * ATA claims - excludes amount encryption (amounts are public).\n * Encrypts: senderAddressLow, senderAddressHigh, mintAddressLow, mintAddressHigh, leafCommitment\n */\n INTO_ATA: 5,\n /**\n * ETA claims - includes amount encryption.\n * Encrypts: senderAddressLow, senderAddressHigh, amount, mintAddressLow, mintAddressHigh, leafCommitment\n */\n INTO_ETA: 6,\n} as const;\n\n/* =============================================================================\n * RESCUE CIPHER ENCRYPTION CONSTANTS\n * ============================================================================= */\n\n/**\n * Number of rescue cipher encryptions for different claim types.\n */\nexport const RESCUE_ENCRYPTIONS_COUNT = {\n /**\n * ATA claims - no fee encryption (amounts are public).\n * Encrypts: mvkLow, mvkHigh, randomFactorLow, randomFactorHigh\n */\n WITHOUT_FEES: 4,\n /**\n * ETA claims - includes fee encryption.\n * Encrypts: finalAmount, protocolFees, relayerFees, mvkLow, mvkHigh, randomFactorLow, randomFactorHigh\n */\n WITH_FEES: 7,\n} as const;\n\n/* =============================================================================\n * CRYPTOGRAPHIC OUTPUT CONSTANTS\n * ============================================================================= */\n\n/**\n * KMAC256 output length for 512-bit (64 bytes) output.\n */\nexport const KMAC_512_OUTPUT_LENGTH = 64;\n\n/**\n * Number of elements in the public aggregated hash input array.\n */\nexport const AGGREGATED_HASH_INPUT_COUNT = {\n /** ATA claims use 45 elements */\n ATA: 45,\n /** ETA claims use 70 elements */\n ETA: 70,\n} as const;\n"]}
@@ -0,0 +1,583 @@
1
+ 'use strict';
2
+
3
+ var chunkJPDF7BIT_cjs = require('../chunk-JPDF7BIT.cjs');
4
+ require('../chunk-Y55PYKXH.cjs');
5
+ require('../chunk-ZY3TSHMJ.cjs');
6
+ require('../chunk-CFFLOE7D.cjs');
7
+ require('../chunk-TQQZGNOI.cjs');
8
+ require('../chunk-DMPMQ74B.cjs');
9
+ require('../chunk-5GUSMQ74.cjs');
10
+ require('../chunk-QJAUUYZU.cjs');
11
+ require('../chunk-ENVYYEM4.cjs');
12
+ require('../chunk-FZYWLQAF.cjs');
13
+ require('../chunk-LTCKPTZC.cjs');
14
+ require('../chunk-PK6SKIKE.cjs');
15
+
16
+
17
+
18
+ Object.defineProperty(exports, "AES_AUTH_TAG_LENGTH", {
19
+ enumerable: true,
20
+ get: function () { return chunkJPDF7BIT_cjs.AES_AUTH_TAG_LENGTH; }
21
+ });
22
+ Object.defineProperty(exports, "AES_IV_LENGTH", {
23
+ enumerable: true,
24
+ get: function () { return chunkJPDF7BIT_cjs.AES_IV_LENGTH; }
25
+ });
26
+ Object.defineProperty(exports, "AES_KEY_LENGTH", {
27
+ enumerable: true,
28
+ get: function () { return chunkJPDF7BIT_cjs.AES_KEY_LENGTH; }
29
+ });
30
+ Object.defineProperty(exports, "AES_METADATA_OVERHEAD", {
31
+ enumerable: true,
32
+ get: function () { return chunkJPDF7BIT_cjs.AES_METADATA_OVERHEAD; }
33
+ });
34
+ Object.defineProperty(exports, "ALPHA", {
35
+ enumerable: true,
36
+ get: function () { return chunkJPDF7BIT_cjs.ALPHA; }
37
+ });
38
+ Object.defineProperty(exports, "ALPHA_INVERSE", {
39
+ enumerable: true,
40
+ get: function () { return chunkJPDF7BIT_cjs.ALPHA_INVERSE; }
41
+ });
42
+ Object.defineProperty(exports, "BASE85_LIMB_MAX", {
43
+ enumerable: true,
44
+ get: function () { return chunkJPDF7BIT_cjs.BASE85_LIMB_MAX; }
45
+ });
46
+ Object.defineProperty(exports, "BLOCK_SIZE", {
47
+ enumerable: true,
48
+ get: function () { return chunkJPDF7BIT_cjs.BLOCK_SIZE; }
49
+ });
50
+ Object.defineProperty(exports, "CIPHER_ROUND_COUNT", {
51
+ enumerable: true,
52
+ get: function () { return chunkJPDF7BIT_cjs.CIPHER_ROUND_COUNT; }
53
+ });
54
+ Object.defineProperty(exports, "FIELD_ELEMENT_BYTE_LENGTH", {
55
+ enumerable: true,
56
+ get: function () { return chunkJPDF7BIT_cjs.FIELD_ELEMENT_BYTE_LENGTH; }
57
+ });
58
+ Object.defineProperty(exports, "FIELD_PRIME", {
59
+ enumerable: true,
60
+ get: function () { return chunkJPDF7BIT_cjs.FIELD_PRIME; }
61
+ });
62
+ Object.defineProperty(exports, "GROTH16_G1_BYTE_LENGTH", {
63
+ enumerable: true,
64
+ get: function () { return chunkJPDF7BIT_cjs.GROTH16_G1_BYTE_LENGTH; }
65
+ });
66
+ Object.defineProperty(exports, "GROTH16_G2_BYTE_LENGTH", {
67
+ enumerable: true,
68
+ get: function () { return chunkJPDF7BIT_cjs.GROTH16_G2_BYTE_LENGTH; }
69
+ });
70
+ Object.defineProperty(exports, "HASH_CAPACITY", {
71
+ enumerable: true,
72
+ get: function () { return chunkJPDF7BIT_cjs.HASH_CAPACITY; }
73
+ });
74
+ Object.defineProperty(exports, "HASH_DIGEST_LENGTH", {
75
+ enumerable: true,
76
+ get: function () { return chunkJPDF7BIT_cjs.HASH_DIGEST_LENGTH; }
77
+ });
78
+ Object.defineProperty(exports, "HASH_RATE", {
79
+ enumerable: true,
80
+ get: function () { return chunkJPDF7BIT_cjs.HASH_RATE; }
81
+ });
82
+ Object.defineProperty(exports, "HASH_ROUND_COUNT", {
83
+ enumerable: true,
84
+ get: function () { return chunkJPDF7BIT_cjs.HASH_ROUND_COUNT; }
85
+ });
86
+ Object.defineProperty(exports, "HASH_STATE_SIZE", {
87
+ enumerable: true,
88
+ get: function () { return chunkJPDF7BIT_cjs.HASH_STATE_SIZE; }
89
+ });
90
+ Object.defineProperty(exports, "MASTER_VIEWING_KEY_MAX", {
91
+ enumerable: true,
92
+ get: function () { return chunkJPDF7BIT_cjs.MASTER_VIEWING_KEY_MAX; }
93
+ });
94
+ Object.defineProperty(exports, "MAX_AGGREGATOR_INPUTS", {
95
+ enumerable: true,
96
+ get: function () { return chunkJPDF7BIT_cjs.MAX_AGGREGATOR_INPUTS; }
97
+ });
98
+ Object.defineProperty(exports, "MAX_POSEIDON_INPUTS", {
99
+ enumerable: true,
100
+ get: function () { return chunkJPDF7BIT_cjs.MAX_POSEIDON_INPUTS; }
101
+ });
102
+ Object.defineProperty(exports, "MAX_PRF_SEEDS", {
103
+ enumerable: true,
104
+ get: function () { return chunkJPDF7BIT_cjs.MAX_PRF_SEEDS; }
105
+ });
106
+ Object.defineProperty(exports, "NONCE_BYTES", {
107
+ enumerable: true,
108
+ get: function () { return chunkJPDF7BIT_cjs.NONCE_BYTES; }
109
+ });
110
+ Object.defineProperty(exports, "OPTIONAL_DATA_BYTE_LENGTH", {
111
+ enumerable: true,
112
+ get: function () { return chunkJPDF7BIT_cjs.OPTIONAL_DATA_BYTE_LENGTH; }
113
+ });
114
+ Object.defineProperty(exports, "PRECOMPUTED_FIELD_INVERSES", {
115
+ enumerable: true,
116
+ get: function () { return chunkJPDF7BIT_cjs.PRECOMPUTED_FIELD_INVERSES; }
117
+ });
118
+ Object.defineProperty(exports, "REDUCTION_CONST", {
119
+ enumerable: true,
120
+ get: function () { return chunkJPDF7BIT_cjs.REDUCTION_CONST; }
121
+ });
122
+ Object.defineProperty(exports, "SAMPLE_BUFFER_BYTE_LENGTH", {
123
+ enumerable: true,
124
+ get: function () { return chunkJPDF7BIT_cjs.SAMPLE_BUFFER_BYTE_LENGTH; }
125
+ });
126
+ Object.defineProperty(exports, "SECRET_BYTES", {
127
+ enumerable: true,
128
+ get: function () { return chunkJPDF7BIT_cjs.SECRET_BYTES; }
129
+ });
130
+ Object.defineProperty(exports, "SHAKE256_CIPHER_SEED", {
131
+ enumerable: true,
132
+ get: function () { return chunkJPDF7BIT_cjs.SHAKE256_CIPHER_SEED; }
133
+ });
134
+ Object.defineProperty(exports, "X25519_BYTE_LENGTH", {
135
+ enumerable: true,
136
+ get: function () { return chunkJPDF7BIT_cjs.X25519_BYTE_LENGTH; }
137
+ });
138
+ Object.defineProperty(exports, "ZK_PROOF_BYTE_LENGTH", {
139
+ enumerable: true,
140
+ get: function () { return chunkJPDF7BIT_cjs.ZK_PROOF_BYTE_LENGTH; }
141
+ });
142
+ Object.defineProperty(exports, "assertAesCiphertextWithMetadata", {
143
+ enumerable: true,
144
+ get: function () { return chunkJPDF7BIT_cjs.assertAesCiphertextWithMetadata; }
145
+ });
146
+ Object.defineProperty(exports, "assertAesKey", {
147
+ enumerable: true,
148
+ get: function () { return chunkJPDF7BIT_cjs.assertAesKey; }
149
+ });
150
+ Object.defineProperty(exports, "assertAesPlaintext", {
151
+ enumerable: true,
152
+ get: function () { return chunkJPDF7BIT_cjs.assertAesPlaintext; }
153
+ });
154
+ Object.defineProperty(exports, "assertBase85Limb", {
155
+ enumerable: true,
156
+ get: function () { return chunkJPDF7BIT_cjs.assertBase85Limb; }
157
+ });
158
+ Object.defineProperty(exports, "assertCurve25519KeypairResult", {
159
+ enumerable: true,
160
+ get: function () { return chunkJPDF7BIT_cjs.assertCurve25519KeypairResult; }
161
+ });
162
+ Object.defineProperty(exports, "assertDailyViewingKey", {
163
+ enumerable: true,
164
+ get: function () { return chunkJPDF7BIT_cjs.assertDailyViewingKey; }
165
+ });
166
+ Object.defineProperty(exports, "assertEd25519Keypair", {
167
+ enumerable: true,
168
+ get: function () { return chunkJPDF7BIT_cjs.assertEd25519Keypair; }
169
+ });
170
+ Object.defineProperty(exports, "assertGenerationSeed", {
171
+ enumerable: true,
172
+ get: function () { return chunkJPDF7BIT_cjs.assertGenerationSeed; }
173
+ });
174
+ Object.defineProperty(exports, "assertGroth16ProofA", {
175
+ enumerable: true,
176
+ get: function () { return chunkJPDF7BIT_cjs.assertGroth16ProofA; }
177
+ });
178
+ Object.defineProperty(exports, "assertGroth16ProofB", {
179
+ enumerable: true,
180
+ get: function () { return chunkJPDF7BIT_cjs.assertGroth16ProofB; }
181
+ });
182
+ Object.defineProperty(exports, "assertGroth16ProofC", {
183
+ enumerable: true,
184
+ get: function () { return chunkJPDF7BIT_cjs.assertGroth16ProofC; }
185
+ });
186
+ Object.defineProperty(exports, "assertHourlyViewingKey", {
187
+ enumerable: true,
188
+ get: function () { return chunkJPDF7BIT_cjs.assertHourlyViewingKey; }
189
+ });
190
+ Object.defineProperty(exports, "assertKeccak256Hash", {
191
+ enumerable: true,
192
+ get: function () { return chunkJPDF7BIT_cjs.assertKeccak256Hash; }
193
+ });
194
+ Object.defineProperty(exports, "assertKeccak512Hash", {
195
+ enumerable: true,
196
+ get: function () { return chunkJPDF7BIT_cjs.assertKeccak512Hash; }
197
+ });
198
+ Object.defineProperty(exports, "assertMasterSeed", {
199
+ enumerable: true,
200
+ get: function () { return chunkJPDF7BIT_cjs.assertMasterSeed; }
201
+ });
202
+ Object.defineProperty(exports, "assertMasterViewingKey", {
203
+ enumerable: true,
204
+ get: function () { return chunkJPDF7BIT_cjs.assertMasterViewingKey; }
205
+ });
206
+ Object.defineProperty(exports, "assertMintViewingKey", {
207
+ enumerable: true,
208
+ get: function () { return chunkJPDF7BIT_cjs.assertMintViewingKey; }
209
+ });
210
+ Object.defineProperty(exports, "assertMinuteViewingKey", {
211
+ enumerable: true,
212
+ get: function () { return chunkJPDF7BIT_cjs.assertMinuteViewingKey; }
213
+ });
214
+ Object.defineProperty(exports, "assertMonthlyViewingKey", {
215
+ enumerable: true,
216
+ get: function () { return chunkJPDF7BIT_cjs.assertMonthlyViewingKey; }
217
+ });
218
+ Object.defineProperty(exports, "assertOptionalData32", {
219
+ enumerable: true,
220
+ get: function () { return chunkJPDF7BIT_cjs.assertOptionalData32; }
221
+ });
222
+ Object.defineProperty(exports, "assertPoseidonCiphertext", {
223
+ enumerable: true,
224
+ get: function () { return chunkJPDF7BIT_cjs.assertPoseidonCiphertext; }
225
+ });
226
+ Object.defineProperty(exports, "assertPoseidonCounter", {
227
+ enumerable: true,
228
+ get: function () { return chunkJPDF7BIT_cjs.assertPoseidonCounter; }
229
+ });
230
+ Object.defineProperty(exports, "assertPoseidonHash", {
231
+ enumerable: true,
232
+ get: function () { return chunkJPDF7BIT_cjs.assertPoseidonHash; }
233
+ });
234
+ Object.defineProperty(exports, "assertPoseidonKey", {
235
+ enumerable: true,
236
+ get: function () { return chunkJPDF7BIT_cjs.assertPoseidonKey; }
237
+ });
238
+ Object.defineProperty(exports, "assertPoseidonKeystream", {
239
+ enumerable: true,
240
+ get: function () { return chunkJPDF7BIT_cjs.assertPoseidonKeystream; }
241
+ });
242
+ Object.defineProperty(exports, "assertPoseidonPlaintext", {
243
+ enumerable: true,
244
+ get: function () { return chunkJPDF7BIT_cjs.assertPoseidonPlaintext; }
245
+ });
246
+ Object.defineProperty(exports, "assertRcCiphertext", {
247
+ enumerable: true,
248
+ get: function () { return chunkJPDF7BIT_cjs.assertRcCiphertext; }
249
+ });
250
+ Object.defineProperty(exports, "assertRcCounter", {
251
+ enumerable: true,
252
+ get: function () { return chunkJPDF7BIT_cjs.assertRcCounter; }
253
+ });
254
+ Object.defineProperty(exports, "assertRcEncryptionNonce", {
255
+ enumerable: true,
256
+ get: function () { return chunkJPDF7BIT_cjs.assertRcEncryptionNonce; }
257
+ });
258
+ Object.defineProperty(exports, "assertRcKey", {
259
+ enumerable: true,
260
+ get: function () { return chunkJPDF7BIT_cjs.assertRcKey; }
261
+ });
262
+ Object.defineProperty(exports, "assertRcPlaintext", {
263
+ enumerable: true,
264
+ get: function () { return chunkJPDF7BIT_cjs.assertRcPlaintext; }
265
+ });
266
+ Object.defineProperty(exports, "assertSecondViewingKey", {
267
+ enumerable: true,
268
+ get: function () { return chunkJPDF7BIT_cjs.assertSecondViewingKey; }
269
+ });
270
+ Object.defineProperty(exports, "assertSharedSecret", {
271
+ enumerable: true,
272
+ get: function () { return chunkJPDF7BIT_cjs.assertSharedSecret; }
273
+ });
274
+ Object.defineProperty(exports, "assertX25519Bytes", {
275
+ enumerable: true,
276
+ get: function () { return chunkJPDF7BIT_cjs.assertX25519Bytes; }
277
+ });
278
+ Object.defineProperty(exports, "assertX25519Keypair", {
279
+ enumerable: true,
280
+ get: function () { return chunkJPDF7BIT_cjs.assertX25519Keypair; }
281
+ });
282
+ Object.defineProperty(exports, "assertX25519PrivateKey", {
283
+ enumerable: true,
284
+ get: function () { return chunkJPDF7BIT_cjs.assertX25519PrivateKey; }
285
+ });
286
+ Object.defineProperty(exports, "assertX25519PublicKey", {
287
+ enumerable: true,
288
+ get: function () { return chunkJPDF7BIT_cjs.assertX25519PublicKey; }
289
+ });
290
+ Object.defineProperty(exports, "assertYearlyViewingKey", {
291
+ enumerable: true,
292
+ get: function () { return chunkJPDF7BIT_cjs.assertYearlyViewingKey; }
293
+ });
294
+ Object.defineProperty(exports, "assertZkProofBytes", {
295
+ enumerable: true,
296
+ get: function () { return chunkJPDF7BIT_cjs.assertZkProofBytes; }
297
+ });
298
+ Object.defineProperty(exports, "buildPersonalizationString", {
299
+ enumerable: true,
300
+ get: function () { return chunkJPDF7BIT_cjs.buildPersonalizationString; }
301
+ });
302
+ Object.defineProperty(exports, "defaultAesDecryptor", {
303
+ enumerable: true,
304
+ get: function () { return chunkJPDF7BIT_cjs.defaultAesDecryptor; }
305
+ });
306
+ Object.defineProperty(exports, "defaultAesEncryptor", {
307
+ enumerable: true,
308
+ get: function () { return chunkJPDF7BIT_cjs.defaultAesEncryptor; }
309
+ });
310
+ Object.defineProperty(exports, "deriveBn254FieldElementFromKeccak512", {
311
+ enumerable: true,
312
+ get: function () { return chunkJPDF7BIT_cjs.deriveBn254FieldElementFromKeccak512; }
313
+ });
314
+ Object.defineProperty(exports, "deriveEphemeralMasterViewingKey", {
315
+ enumerable: true,
316
+ get: function () { return chunkJPDF7BIT_cjs.deriveEphemeralMasterViewingKey; }
317
+ });
318
+ Object.defineProperty(exports, "deriveEphemeralMasterViewingKeyBlindingFactor", {
319
+ enumerable: true,
320
+ get: function () { return chunkJPDF7BIT_cjs.deriveEphemeralMasterViewingKeyBlindingFactor; }
321
+ });
322
+ Object.defineProperty(exports, "deriveEphemeralPoseidonPrivateKey", {
323
+ enumerable: true,
324
+ get: function () { return chunkJPDF7BIT_cjs.deriveEphemeralPoseidonPrivateKey; }
325
+ });
326
+ Object.defineProperty(exports, "deriveEphemeralPoseidonPrivateKeyBlindingFactor", {
327
+ enumerable: true,
328
+ get: function () { return chunkJPDF7BIT_cjs.deriveEphemeralPoseidonPrivateKeyBlindingFactor; }
329
+ });
330
+ Object.defineProperty(exports, "deriveKeystreamBlindingFactor", {
331
+ enumerable: true,
332
+ get: function () { return chunkJPDF7BIT_cjs.deriveKeystreamBlindingFactor; }
333
+ });
334
+ Object.defineProperty(exports, "deriveModifiedGenerationIndexForReceiverClaim", {
335
+ enumerable: true,
336
+ get: function () { return chunkJPDF7BIT_cjs.deriveModifiedGenerationIndexForReceiverClaim; }
337
+ });
338
+ Object.defineProperty(exports, "deriveModifiedGenerationIndexForSenderClaim", {
339
+ enumerable: true,
340
+ get: function () { return chunkJPDF7BIT_cjs.deriveModifiedGenerationIndexForSenderClaim; }
341
+ });
342
+ Object.defineProperty(exports, "deriveNullifierFromModifiedGenerationIndex", {
343
+ enumerable: true,
344
+ get: function () { return chunkJPDF7BIT_cjs.deriveNullifierFromModifiedGenerationIndex; }
345
+ });
346
+ Object.defineProperty(exports, "deriveProofAccountOffsetFromModifiedGenerationIndex", {
347
+ enumerable: true,
348
+ get: function () { return chunkJPDF7BIT_cjs.deriveProofAccountOffsetFromModifiedGenerationIndex; }
349
+ });
350
+ Object.defineProperty(exports, "deriveRandomFactorForPolynomialCommitmentFromModifiedGenerationIndex", {
351
+ enumerable: true,
352
+ get: function () { return chunkJPDF7BIT_cjs.deriveRandomFactorForPolynomialCommitmentFromModifiedGenerationIndex; }
353
+ });
354
+ Object.defineProperty(exports, "deriveRandomSecretFromModifiedGenerationIndex", {
355
+ enumerable: true,
356
+ get: function () { return chunkJPDF7BIT_cjs.deriveRandomSecretFromModifiedGenerationIndex; }
357
+ });
358
+ Object.defineProperty(exports, "deriveRescueEncryptionCommitmentBlindingFactorFromModifiedGenerationIndex", {
359
+ enumerable: true,
360
+ get: function () { return chunkJPDF7BIT_cjs.deriveRescueEncryptionCommitmentBlindingFactorFromModifiedGenerationIndex; }
361
+ });
362
+ Object.defineProperty(exports, "expandModifiedGenerationIndex", {
363
+ enumerable: true,
364
+ get: function () { return chunkJPDF7BIT_cjs.expandModifiedGenerationIndex; }
365
+ });
366
+ Object.defineProperty(exports, "getAesDecryptor", {
367
+ enumerable: true,
368
+ get: function () { return chunkJPDF7BIT_cjs.getAesDecryptor; }
369
+ });
370
+ Object.defineProperty(exports, "getAesEncryptor", {
371
+ enumerable: true,
372
+ get: function () { return chunkJPDF7BIT_cjs.getAesEncryptor; }
373
+ });
374
+ Object.defineProperty(exports, "getBn254FieldElementFromKeccak512Deriver", {
375
+ enumerable: true,
376
+ get: function () { return chunkJPDF7BIT_cjs.getBn254FieldElementFromKeccak512Deriver; }
377
+ });
378
+ Object.defineProperty(exports, "getChallengePowersFunction", {
379
+ enumerable: true,
380
+ get: function () { return chunkJPDF7BIT_cjs.getChallengePowersFunction; }
381
+ });
382
+ Object.defineProperty(exports, "getDailyViewingKeyDeriver", {
383
+ enumerable: true,
384
+ get: function () { return chunkJPDF7BIT_cjs.getDailyViewingKeyDeriver; }
385
+ });
386
+ Object.defineProperty(exports, "getEphemeralMasterSeedDeriver", {
387
+ enumerable: true,
388
+ get: function () { return chunkJPDF7BIT_cjs.getEphemeralMasterSeedDeriver; }
389
+ });
390
+ Object.defineProperty(exports, "getEphemeralRescueCommitmentBlindingFactorDeriver", {
391
+ enumerable: true,
392
+ get: function () { return chunkJPDF7BIT_cjs.getEphemeralRescueCommitmentBlindingFactorDeriver; }
393
+ });
394
+ Object.defineProperty(exports, "getEphemeralUtxoH2RandomSecretDeriver", {
395
+ enumerable: true,
396
+ get: function () { return chunkJPDF7BIT_cjs.getEphemeralUtxoH2RandomSecretDeriver; }
397
+ });
398
+ Object.defineProperty(exports, "getEphemeralUtxoMasterViewingKeyBlindingFactorDeriver", {
399
+ enumerable: true,
400
+ get: function () { return chunkJPDF7BIT_cjs.getEphemeralUtxoMasterViewingKeyBlindingFactorDeriver; }
401
+ });
402
+ Object.defineProperty(exports, "getEphemeralUtxoMasterViewingKeyDeriver", {
403
+ enumerable: true,
404
+ get: function () { return chunkJPDF7BIT_cjs.getEphemeralUtxoMasterViewingKeyDeriver; }
405
+ });
406
+ Object.defineProperty(exports, "getEphemeralUtxoNullifierDeriver", {
407
+ enumerable: true,
408
+ get: function () { return chunkJPDF7BIT_cjs.getEphemeralUtxoNullifierDeriver; }
409
+ });
410
+ Object.defineProperty(exports, "getEphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriver", {
411
+ enumerable: true,
412
+ get: function () { return chunkJPDF7BIT_cjs.getEphemeralUtxoPoseidonPrivateKeyBlindingFactorDeriver; }
413
+ });
414
+ Object.defineProperty(exports, "getEphemeralUtxoPoseidonPrivateKeyDeriver", {
415
+ enumerable: true,
416
+ get: function () { return chunkJPDF7BIT_cjs.getEphemeralUtxoPoseidonPrivateKeyDeriver; }
417
+ });
418
+ Object.defineProperty(exports, "getFiatShamirChallengeGeneratorFunction", {
419
+ enumerable: true,
420
+ get: function () { return chunkJPDF7BIT_cjs.getFiatShamirChallengeGeneratorFunction; }
421
+ });
422
+ Object.defineProperty(exports, "getFieldArithmetic", {
423
+ enumerable: true,
424
+ get: function () { return chunkJPDF7BIT_cjs.getFieldArithmetic; }
425
+ });
426
+ Object.defineProperty(exports, "getHourlyViewingKeyDeriver", {
427
+ enumerable: true,
428
+ get: function () { return chunkJPDF7BIT_cjs.getHourlyViewingKeyDeriver; }
429
+ });
430
+ Object.defineProperty(exports, "getKeystreamCommitmentGenerator", {
431
+ enumerable: true,
432
+ get: function () { return chunkJPDF7BIT_cjs.getKeystreamCommitmentGenerator; }
433
+ });
434
+ Object.defineProperty(exports, "getMasterSeedBasedFieldElementDeriver", {
435
+ enumerable: true,
436
+ get: function () { return chunkJPDF7BIT_cjs.getMasterSeedBasedFieldElementDeriver; }
437
+ });
438
+ Object.defineProperty(exports, "getMasterViewingKeyBlindingFactorDeriver", {
439
+ enumerable: true,
440
+ get: function () { return chunkJPDF7BIT_cjs.getMasterViewingKeyBlindingFactorDeriver; }
441
+ });
442
+ Object.defineProperty(exports, "getMasterViewingKeyDeriver", {
443
+ enumerable: true,
444
+ get: function () { return chunkJPDF7BIT_cjs.getMasterViewingKeyDeriver; }
445
+ });
446
+ Object.defineProperty(exports, "getMasterViewingKeyX25519KeypairDeriver", {
447
+ enumerable: true,
448
+ get: function () { return chunkJPDF7BIT_cjs.getMasterViewingKeyX25519KeypairDeriver; }
449
+ });
450
+ Object.defineProperty(exports, "getMintViewingKeyDeriver", {
451
+ enumerable: true,
452
+ get: function () { return chunkJPDF7BIT_cjs.getMintViewingKeyDeriver; }
453
+ });
454
+ Object.defineProperty(exports, "getMintX25519KeypairDeriver", {
455
+ enumerable: true,
456
+ get: function () { return chunkJPDF7BIT_cjs.getMintX25519KeypairDeriver; }
457
+ });
458
+ Object.defineProperty(exports, "getMinuteViewingKeyDeriver", {
459
+ enumerable: true,
460
+ get: function () { return chunkJPDF7BIT_cjs.getMinuteViewingKeyDeriver; }
461
+ });
462
+ Object.defineProperty(exports, "getModuloPowCurve25519Function", {
463
+ enumerable: true,
464
+ get: function () { return chunkJPDF7BIT_cjs.getModuloPowCurve25519Function; }
465
+ });
466
+ Object.defineProperty(exports, "getMonthlyViewingKeyDeriver", {
467
+ enumerable: true,
468
+ get: function () { return chunkJPDF7BIT_cjs.getMonthlyViewingKeyDeriver; }
469
+ });
470
+ Object.defineProperty(exports, "getPersonalizationStringBuilder", {
471
+ enumerable: true,
472
+ get: function () { return chunkJPDF7BIT_cjs.getPersonalizationStringBuilder; }
473
+ });
474
+ Object.defineProperty(exports, "getPolynomialCommitmentFactorDeriver", {
475
+ enumerable: true,
476
+ get: function () { return chunkJPDF7BIT_cjs.getPolynomialCommitmentFactorDeriver; }
477
+ });
478
+ Object.defineProperty(exports, "getPolynomialEvaluatorFunction", {
479
+ enumerable: true,
480
+ get: function () { return chunkJPDF7BIT_cjs.getPolynomialEvaluatorFunction; }
481
+ });
482
+ Object.defineProperty(exports, "getPoseidonAggregator", {
483
+ enumerable: true,
484
+ get: function () { return chunkJPDF7BIT_cjs.getPoseidonAggregator; }
485
+ });
486
+ Object.defineProperty(exports, "getPoseidonBlindingFactorDeriver", {
487
+ enumerable: true,
488
+ get: function () { return chunkJPDF7BIT_cjs.getPoseidonBlindingFactorDeriver; }
489
+ });
490
+ Object.defineProperty(exports, "getPoseidonDecryptor", {
491
+ enumerable: true,
492
+ get: function () { return chunkJPDF7BIT_cjs.getPoseidonDecryptor; }
493
+ });
494
+ Object.defineProperty(exports, "getPoseidonEncryptor", {
495
+ enumerable: true,
496
+ get: function () { return chunkJPDF7BIT_cjs.getPoseidonEncryptor; }
497
+ });
498
+ Object.defineProperty(exports, "getPoseidonHasher", {
499
+ enumerable: true,
500
+ get: function () { return chunkJPDF7BIT_cjs.getPoseidonHasher; }
501
+ });
502
+ Object.defineProperty(exports, "getPoseidonKeystreamBlindingFactorDeriver", {
503
+ enumerable: true,
504
+ get: function () { return chunkJPDF7BIT_cjs.getPoseidonKeystreamBlindingFactorDeriver; }
505
+ });
506
+ Object.defineProperty(exports, "getPoseidonKeystreamGenerator", {
507
+ enumerable: true,
508
+ get: function () { return chunkJPDF7BIT_cjs.getPoseidonKeystreamGenerator; }
509
+ });
510
+ Object.defineProperty(exports, "getPoseidonPrf", {
511
+ enumerable: true,
512
+ get: function () { return chunkJPDF7BIT_cjs.getPoseidonPrf; }
513
+ });
514
+ Object.defineProperty(exports, "getPoseidonPrivateKeyDeriver", {
515
+ enumerable: true,
516
+ get: function () { return chunkJPDF7BIT_cjs.getPoseidonPrivateKeyDeriver; }
517
+ });
518
+ Object.defineProperty(exports, "getPseudorandomU512Deriver", {
519
+ enumerable: true,
520
+ get: function () { return chunkJPDF7BIT_cjs.getPseudorandomU512Deriver; }
521
+ });
522
+ Object.defineProperty(exports, "getRescueCipher", {
523
+ enumerable: true,
524
+ get: function () { return chunkJPDF7BIT_cjs.getRescueCipher; }
525
+ });
526
+ Object.defineProperty(exports, "getRescueCipherFromKeyPair", {
527
+ enumerable: true,
528
+ get: function () { return chunkJPDF7BIT_cjs.getRescueCipherFromKeyPair; }
529
+ });
530
+ Object.defineProperty(exports, "getRescueCipherInstance", {
531
+ enumerable: true,
532
+ get: function () { return chunkJPDF7BIT_cjs.getRescueCipherInstance; }
533
+ });
534
+ Object.defineProperty(exports, "getRescueCommitmentBlindingFactorDeriver", {
535
+ enumerable: true,
536
+ get: function () { return chunkJPDF7BIT_cjs.getRescueCommitmentBlindingFactorDeriver; }
537
+ });
538
+ Object.defineProperty(exports, "getRescueCommitmentGenerator", {
539
+ enumerable: true,
540
+ get: function () { return chunkJPDF7BIT_cjs.getRescueCommitmentGenerator; }
541
+ });
542
+ Object.defineProperty(exports, "getRescueDecryptorFromPrivateKey", {
543
+ enumerable: true,
544
+ get: function () { return chunkJPDF7BIT_cjs.getRescueDecryptorFromPrivateKey; }
545
+ });
546
+ Object.defineProperty(exports, "getRescueEncryptorFromPrivateKey", {
547
+ enumerable: true,
548
+ get: function () { return chunkJPDF7BIT_cjs.getRescueEncryptorFromPrivateKey; }
549
+ });
550
+ Object.defineProperty(exports, "getRescueEncryptorWithNonceFromPrivateKey", {
551
+ enumerable: true,
552
+ get: function () { return chunkJPDF7BIT_cjs.getRescueEncryptorWithNonceFromPrivateKey; }
553
+ });
554
+ Object.defineProperty(exports, "getRescueKeyGeneratorFromPrivateKey", {
555
+ enumerable: true,
556
+ get: function () { return chunkJPDF7BIT_cjs.getRescueKeyGeneratorFromPrivateKey; }
557
+ });
558
+ Object.defineProperty(exports, "getRescuePrimeHashFunction", {
559
+ enumerable: true,
560
+ get: function () { return chunkJPDF7BIT_cjs.getRescuePrimeHashFunction; }
561
+ });
562
+ Object.defineProperty(exports, "getSecondViewingKeyDeriver", {
563
+ enumerable: true,
564
+ get: function () { return chunkJPDF7BIT_cjs.getSecondViewingKeyDeriver; }
565
+ });
566
+ Object.defineProperty(exports, "getUserAccountX25519KeypairDeriver", {
567
+ enumerable: true,
568
+ get: function () { return chunkJPDF7BIT_cjs.getUserAccountX25519KeypairDeriver; }
569
+ });
570
+ Object.defineProperty(exports, "getUserCommitmentGeneratorFunction", {
571
+ enumerable: true,
572
+ get: function () { return chunkJPDF7BIT_cjs.getUserCommitmentGeneratorFunction; }
573
+ });
574
+ Object.defineProperty(exports, "getUtxoCommitmentHashGenerator", {
575
+ enumerable: true,
576
+ get: function () { return chunkJPDF7BIT_cjs.getUtxoCommitmentHashGenerator; }
577
+ });
578
+ Object.defineProperty(exports, "getYearlyViewingKeyDeriver", {
579
+ enumerable: true,
580
+ get: function () { return chunkJPDF7BIT_cjs.getYearlyViewingKeyDeriver; }
581
+ });
582
+ //# sourceMappingURL=index.cjs.map
583
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}