-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Just wanted to provide the info here, feel free to close it if not relevant.
When using Metamask snap, I have imported fhenix, and got an issue when using the library from wasm. I have done a workaround in this commit.
For those interested in, you will need to modify your snap.config.ts as follow:
const config: SnapConfig = {
bundler: 'webpack',
...
experimental: {
wasm: true
},
customizeWebpackConfig(config) {
patchWasmModuleImport(config, false);
config.output.environment = { ...config.output.environment, asyncFunction: true };
return config
},
};
function patchWasmModuleImport(config) {
config.experiments = Object.assign(config.experiments || {}, {
asyncWebAssembly: true,
layers: true,
topLevelAwait: true
});
config.optimization.moduleIds = 'named';
config.module.rules.push({
test: /\.wasm$/,
type: 'asset/resource',
});
config.output.webassemblyModuleFilename = 'static/wasm/tfhe_bg.wasm';
}Regarding the log of this issue, I had this in case it interest you :
Logs detail
success Writing page-data.json and slice-data.json files to public directory -
➤ YN0000: [site]: 0.099s - 1/1 10.15/s
➤ YN0000: [site]:
➤ YN0000: [snap]: ✖ Compiled 356 files in 8989ms with 3 errors.
➤ YN0000: [snap]:
➤ YN0000: [snap]: • Module not found: Error: Can't resolve 'wbg' in '/.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/lib/esm/sdk/fhe'
➤ YN0000: [snap]:
➤ YN0000: [snap]: resolve 'wbg' in '/.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/lib/esm/sdk/fhe'
➤ YN0000: [snap]: Parsed request is a module
➤ YN0000: [snap]: using description file: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/lib/esm/package.json (relative path: ./sdk/fhe)
➤ YN0000: [snap]: resolve as module
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/lib/esm/sdk/fhe/node_modules doesn't exist or is not a directory
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/lib/esm/sdk/node_modules doesn't exist or is not a directory
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/lib/esm/node_modules doesn't exist or is not a directory
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/lib/node_modules doesn't exist or is not a directory
➤ YN0000: [snap]: looking for modules in /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/node_modules
➤ YN0000: [snap]: single file module
➤ YN0000: [snap]: using description file: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/package.json (relative path: ./node_modules/wbg)
➤ YN0000: [snap]: no extension
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/node_modules/wbg doesn't exist
➤ YN0000: [snap]: .js
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/node_modules/wbg.js doesn't exist
➤ YN0000: [snap]: .jsx
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/node_modules/wbg.jsx doesn't exist
➤ YN0000: [snap]: .mjs
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/node_modules/wbg.mjs doesn't exist
➤ YN0000: [snap]: .cjs
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/node_modules/wbg.cjs doesn't exist
➤ YN0000: [snap]: .ts
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/node_modules/wbg.ts doesn't exist
➤ YN0000: [snap]: .tsx
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/node_modules/wbg.tsx doesn't exist
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/fhenixjs/node_modules/wbg doesn't exist
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/node_modules doesn't exist or is not a directory
➤ YN0000: [snap]: looking for modules in /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules
➤ YN0000: [snap]: single file module
➤ YN0000: [snap]: using description file: /.../Fhenix-MetaMask-Snap-for-ERC20/package.json (relative path: ./node_modules/wbg)
➤ YN0000: [snap]: no extension
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/wbg doesn't exist
➤ YN0000: [snap]: .js
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/wbg.js doesn't exist
➤ YN0000: [snap]: .jsx
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/wbg.jsx doesn't exist
➤ YN0000: [snap]: .mjs
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/wbg.mjs doesn't exist
➤ YN0000: [snap]: .cjs
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/wbg.cjs doesn't exist
➤ YN0000: [snap]: .ts
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/wbg.ts doesn't exist
➤ YN0000: [snap]: .tsx
➤ YN0000: [snap]: Field 'browser' doesn't contain a valid alias configuration
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/wbg.tsx doesn't exist
➤ YN0000: [snap]: /.../Fhenix-MetaMask-Snap-for-ERC20/node_modules/wbg doesn't exist
➤ YN0000: [snap]: /.../node_modules doesn't exist or is not a directory
➤ YN0000: [snap]: /home/rere/node_modules doesn't exist or is not a directory
➤ YN0000: [snap]: /home/node_modules doesn't exist or is not a directory
➤ YN0000: [snap]: /node_modules doesn't exist or is not a directory
➤ YN0000: [snap]:
➤ YN0000: [snap]: • export 'default' (imported as 'wasm') was not found in './tfhe_bg.wasm' (possible exports: __wbg_compactfhebool_free, __wbg_compactfheboollist_free, __wbg_compactfheint128_free, __wbg_compactfheint128list_free, __wbg_compactfheint160_free, __wbg_compactfheint160list_free, __wbg_compactfheint16_free, __wbg_compactfheint16list_free, __wbg_compactfheint256_free, __wbg_compactfheint256list_free, __wbg_compactfheint32_free, __wbg_compactfheint32list_free, __wbg_compactfheint64_free, __wbg_compactfheint64list_free, __wbg_compactfheint8_free, __wbg_compactfheint8list_free, __wbg_compactfheuint128_free, __wbg_compactfheuint128list_free, __wbg_compactfheuint160_free, __wbg_compactfheuint160list_free, __wbg_compactfheuint16_free, __wbg_compactfheuint16list_free, __wbg_compactfheuint256_free, __wbg_compactfheuint256list_free, __wbg_compactfheuint32_free, __wbg_compactfheuint32list_free, __wbg_compactfheuint64_free, __wbg_compactfheuint64list_free, __wbg_compactfheuint8_free, __wbg_compactfheuint8list_free, __wbg_compressedfhebool_free, __wbg_compressedfheint128_free, __wbg_compressedfheint160_free, __wbg_compressedfheint16_free, __wbg_compressedfheint256_free, __wbg_compressedfheint32_free, __wbg_compressedfheint64_free, __wbg_compressedfheint8_free, __wbg_compressedfheuint128_free, __wbg_compressedfheuint160_free, __wbg_compressedfheuint16_free, __wbg_compressedfheuint256_free, __wbg_compressedfheuint32_free, __wbg_compressedfheuint64_free, __wbg_compressedfheuint8_free, __wbg_fhebool_free, __wbg_fheint128_free, __wbg_fheint160_free, __wbg_fheint16_free, __wbg_fheint256_free, __wbg_fheint32_free, __wbg_fheint64_free, __wbg_fheint8_free, __wbg_fheuint128_free, __wbg_fheuint160_free, __wbg_fheuint16_free, __wbg_fheuint256_free, __wbg_fheuint32_free, __wbg_fheuint64_free, __wbg_fheuint8_free, __wbg_tfhe_free, __wbg_tfheclientkey_free, __wbg_tfhecompactpublickey_free, __wbg_tfhecompressedcompactpublickey_free, __wbg_tfhecompressedpublickey_free, __wbg_tfhecompressedserverkey_free, __wbg_tfheconfig_free, __wbg_tfheconfigbuilder_free, __wbg_tfhepublickey_free, __wbindgen_add_to_stack_pointer, __wbindgen_exn_store, __wbindgen_free, __wbindgen_malloc, __wbindgen_realloc, compactfhebool_deserialize, compactfhebool_encrypt_with_compact_public_key, compactfhebool_expand, compactfhebool_safe_deserialize, compactfhebool_safe_serialize, compactfhebool_serialize, compactfheboollist_deserialize, compactfheboollist_encrypt_with_compact_public_key, compactfheboollist_expand, compactfheboollist_serialize, compactfheint128_deserialize, compactfheint128_encrypt_with_compact_public_key, compactfheint128_expand, compactfheint128_safe_deserialize, compactfheint128_safe_serialize, compactfheint128_serialize, compactfheint128list_deserialize, compactfheint128list_encrypt_with_compact_public_key, compactfheint128list_expand, compactfheint128list_serialize, compactfheint160_deserialize, compactfheint160_encrypt_with_compact_public_key, compactfheint160_expand, compactfheint160_safe_deserialize, compactfheint160_safe_serialize, compactfheint160_serialize, compactfheint160list_deserialize, compactfheint160list_encrypt_with_compact_public_key, compactfheint160list_expand, compactfheint160list_serialize, compactfheint16_deserialize, compactfheint16_encrypt_with_compact_public_key, compactfheint16_expand, compactfheint16_safe_deserialize, compactfheint16_safe_serialize, compactfheint16_serialize, compactfheint16list_deserialize, compactfheint16list_expand, compactfheint16list_serialize, compactfheint256_deserialize, compactfheint256_encrypt_with_compact_public_key, compactfheint256_expand, compactfheint256_safe_deserialize, compactfheint256_safe_serialize, compactfheint256_serialize, compactfheint256list_deserialize, compactfheint256list_encrypt_with_compact_public_key, compactfheint256list_expand, compactfheint256list_serialize, compactfheint32_deserialize, compactfheint32_encrypt_with_compact_public_key, compactfheint32_expand, compactfheint32_safe_deserialize, compactfheint32_safe_serialize, compactfheint32_serialize, compactfheint32list_deserialize, compactfheint32list_expand, compactfheint32list_serialize, compactfheint64_deserialize, compactfheint64_encrypt_with_compact_public_key, compactfheint64_expand, compactfheint64_safe_deserialize, compactfheint64_safe_serialize, compactfheint64_serialize, compactfheint64list_deserialize, compactfheint64list_expand, compactfheint64list_serialize, compactfheint8_deserialize, compactfheint8_encrypt_with_compact_public_key, compactfheint8_expand, compactfheint8_safe_deserialize, compactfheint8_safe_serialize, compactfheint8_serialize, compactfheint8list_deserialize, compactfheint8list_expand, compactfheint8list_serialize, compactfheuint128_deserialize, compactfheuint128_encrypt_with_compact_public_key, compactfheuint128_expand, compactfheuint128_safe_deserialize, compactfheuint128_safe_serialize, compactfheuint128_serialize, compactfheuint128list_deserialize, compactfheuint128list_encrypt_with_compact_public_key, compactfheuint128list_expand, compactfheuint128list_serialize, compactfheuint160_deserialize, compactfheuint160_encrypt_with_compact_public_key, compactfheuint160_expand, compactfheuint160_safe_deserialize, compactfheuint160_safe_serialize, compactfheuint160_serialize, compactfheuint160list_deserialize, compactfheuint160list_encrypt_with_compact_public_key, compactfheuint160list_expand, compactfheuint160list_serialize, compactfheuint16_deserialize, compactfheuint16_encrypt_with_compact_public_key, compactfheuint16_expand, compactfheuint16_safe_deserialize, compactfheuint16_safe_serialize, compactfheuint16_serialize, compactfheuint16list_deserialize, compactfheuint16list_expand, compactfheuint16list_serialize, compactfheuint256_deserialize, compactfheuint256_encrypt_with_compact_public_key, compactfheuint256_expand, compactfheuint256_safe_deserialize, compactfheuint256_safe_serialize, compactfheuint256_serialize, compactfheuint256list_deserialize, compactfheuint256list_encrypt_with_compact_public_key, compactfheuint256list_expand, compactfheuint256list_serialize, compactfheuint32_deserialize, compactfheuint32_encrypt_with_compact_public_key, compactfheuint32_expand, compactfheuint32_safe_deserialize, compactfheuint32_safe_serialize, compactfheuint32_serialize, compactfheuint32list_deserialize, compactfheuint32list_expand, compactfheuint32list_serialize, compactfheuint64_deserialize, compactfheuint64_encrypt_with_compact_public_key, compactfheuint64_expand, compactfheuint64_safe_deserialize, compactfheuint64_safe_serialize, compactfheuint64_serialize, compactfheuint64list_deserialize, compactfheuint64list_expand, compactfheuint64list_serialize, compactfheuint8_deserialize, compactfheuint8_encrypt_with_compact_public_key, compactfheuint8_expand, compactfheuint8_safe_deserialize, compactfheuint8_safe_serialize, compactfheuint8_serialize, compactfheuint8list_deserialize, compactfheuint8list_expand, compactfheuint8list_serialize, compressedfhebool_decompress, compressedfhebool_deserialize, compressedfhebool_encrypt_with_client_key, compressedfhebool_safe_deserialize, compressedfhebool_safe_serialize, compressedfhebool_serialize, compressedfheint128_decompress, compressedfheint128_deserialize, compressedfheint128_encrypt_with_client_key, compressedfheint128_safe_deserialize, compressedfheint128_safe_serialize, compressedfheint128_serialize, compressedfheint160_decompress, compressedfheint160_deserialize, compressedfheint160_encrypt_with_client_key, compressedfheint160_safe_deserialize, compressedfheint160_safe_serialize, compressedfheint160_serialize, compressedfheint16_decompress, compressedfheint16_deserialize, compressedfheint16_encrypt_with_client_key, compressedfheint16_safe_deserialize, compressedfheint16_safe_serialize, compressedfheint16_serialize, compressedfheint256_decompress, compressedfheint256_deserialize, compressedfheint256_encrypt_with_client_key, compressedfheint256_safe_deserialize, compressedfheint256_safe_serialize, compressedfheint256_serialize, compressedfheint32_decompress, compressedfheint32_deserialize, compressedfheint32_encrypt_with_client_key, compressedfheint32_safe_deserialize, compressedfheint32_safe_serialize, compressedfheint32_serialize, compressedfheint64_decompress, compressedfheint64_deserialize, compressedfheint64_encrypt_with_client_key, compressedfheint64_safe_deserialize, compressedfheint64_safe_serialize, compressedfheint64_serialize, compressedfheint8_decompress, compressedfheint8_deserialize, compressedfheint8_encrypt_with_client_key, compressedfheint8_safe_deserialize, compressedfheint8_safe_serialize, compressedfheint8_serialize, compressedfheuint128_decompress, compressedfheuint128_deserialize, compressedfheuint128_encrypt_with_client_key, compressedfheuint128_safe_deserialize, compressedfheuint128_safe_serialize, compressedfheuint128_serialize, compressedfheuint160_decompress, compressedfheuint160_deserialize, compressedfheuint160_encrypt_with_client_key, compressedfheuint160_safe_deserialize, compressedfheuint160_safe_serialize, compressedfheuint160_serialize, compressedfheuint16_decompress, compressedfheuint16_deserialize, compressedfheuint16_encrypt_with_client_key, compressedfheuint16_safe_deserialize, compressedfheuint16_safe_serialize, compressedfheuint16_serialize, compressedfheuint256_decompress, compressedfheuint256_deserialize, compressedfheuint256_encrypt_with_client_key, compressedfheuint256_safe_deserialize, compressedfheuint256_safe_serialize, compressedfheuint256_serialize, compressedfheuint32_decompress, compressedfheuint32_deserialize, compressedfheuint32_encrypt_with_client_key, compressedfheuint32_safe_deserialize, compressedfheuint32_safe_serialize, compressedfheuint32_serialize, compressedfheuint64_decompress, compressedfheuint64_deserialize, compressedfheuint64_encrypt_with_client_key, compressedfheuint64_safe_deserialize, compressedfheuint64_safe_serialize, compressedfheuint64_serialize, compressedfheuint8_decompress, compressedfheuint8_deserialize, compressedfheuint8_encrypt_with_client_key, compressedfheuint8_safe_deserialize, compressedfheuint8_safe_serialize, compressedfheuint8_serialize, fhebool_decrypt, fhebool_deserialize, fhebool_encrypt_with_client_key, fhebool_encrypt_with_compact_public_key, fhebool_encrypt_with_compressed_public_key, fhebool_encrypt_with_public_key, fhebool_safe_deserialize, fhebool_safe_serialize, fhebool_serialize, fheint128_decrypt, fheint128_deserialize, fheint128_encrypt_with_client_key, fheint128_encrypt_with_compact_public_key, fheint128_encrypt_with_compressed_public_key, fheint128_encrypt_with_public_key, fheint128_safe_deserialize, fheint128_safe_serialize, fheint128_serialize, fheint160_decrypt, fheint160_deserialize, fheint160_encrypt_with_client_key, fheint160_encrypt_with_compact_public_key, fheint160_encrypt_with_compressed_public_key, fheint160_encrypt_with_public_key, fheint160_safe_deserialize, fheint160_safe_serialize, fheint160_serialize, fheint16_decrypt, fheint16_deserialize, fheint16_encrypt_with_client_key, fheint16_encrypt_with_compact_public_key, fheint16_encrypt_with_compressed_public_key, fheint16_encrypt_with_public_key, fheint16_safe_deserialize, fheint16_safe_serialize, fheint16_serialize, fheint256_decrypt, fheint256_deserialize, fheint256_encrypt_with_client_key, fheint256_encrypt_with_compact_public_key, fheint256_encrypt_with_compressed_public_key, fheint256_encrypt_with_public_key, fheint256_safe_deserialize, fheint256_safe_serialize, fheint256_serialize, fheint32_decrypt, fheint32_deserialize, fheint32_encrypt_with_client_key, fheint32_encrypt_with_compact_public_key, fheint32_encrypt_with_compressed_public_key, fheint32_encrypt_with_public_key, fheint32_safe_deserialize, fheint32_safe_serialize, fheint32_serialize, fheint64_decrypt, fheint64_deserialize, fheint64_encrypt_with_client_key, fheint64_encrypt_with_compact_public_key, fheint64_encrypt_with_compressed_public_key, fheint64_encrypt_with_public_key, fheint64_safe_deserialize, fheint64_safe_serialize, fheint64_serialize, fheint8_decrypt, fheint8_deserialize, fheint8_encrypt_with_client_key, fheint8_encrypt_with_compact_public_key, fheint8_encrypt_with_compressed_public_key, fheint8_encrypt_with_public_key, fheint8_safe_deserialize, fheint8_safe_serialize, fheint8_serialize, fheuint128_decrypt, fheuint128_deserialize, fheuint128_encrypt_with_client_key, fheuint128_encrypt_with_compact_public_key, fheuint128_encrypt_with_compressed_public_key, fheuint128_encrypt_with_public_key, fheuint128_safe_deserialize, fheuint128_safe_serialize, fheuint128_serialize, fheuint160_decrypt, fheuint160_deserialize, fheuint160_encrypt_with_client_key, fheuint160_encrypt_with_compact_public_key, fheuint160_encrypt_with_compressed_public_key, fheuint160_encrypt_with_public_key, fheuint160_safe_deserialize, fheuint160_safe_serialize, fheuint160_serialize, fheuint16_decrypt, fheuint16_deserialize, fheuint16_encrypt_with_client_key, fheuint16_encrypt_with_compact_public_key, fheuint16_encrypt_with_compressed_public_key, fheuint16_encrypt_with_public_key, fheuint16_safe_deserialize, fheuint16_safe_serialize, fheuint16_serialize, fheuint256_decrypt, fheuint256_deserialize, fheuint256_encrypt_with_client_key, fheuint256_encrypt_with_compact_public_key, fheuint256_encrypt_with_compressed_public_key, fheuint256_encrypt_with_public_key, fheuint256_safe_deserialize, fheuint256_safe_serialize, fheuint256_serialize, fheuint32_decrypt, fheuint32_deserialize, fheuint32_encrypt_with_client_key, fheuint32_encrypt_with_compact_public_key, fheuint32_encrypt_with_compressed_public_key, fheuint32_encrypt_with_public_key, fheuint32_safe_deserialize, fheuint32_safe_serialize, fheuint32_serialize, fheuint64_decrypt, fheuint64_deserialize, fheuint64_encrypt_with_client_key, fheuint64_encrypt_with_compact_public_key, fheuint64_encrypt_with_compressed_public_key, fheuint64_encrypt_with_public_key, fheuint64_safe_deserialize, fheuint64_safe_serialize, fheuint64_serialize, fheuint8_decrypt, fheuint8_deserialize, fheuint8_encrypt_with_client_key, fheuint8_encrypt_with_compact_public_key, fheuint8_encrypt_with_compressed_public_key, fheuint8_encrypt_with_public_key, fheuint8_safe_deserialize, fheuint8_safe_serialize, fheuint8_serialize, init_panic_hook, memory, tfheclientkey_deserialize, tfheclientkey_generate, tfheclientkey_generate_with_seed, tfheclientkey_serialize, tfhecompactpublickey_deserialize, tfhecompactpublickey_new, tfhecompactpublickey_serialize, tfhecompressedcompactpublickey_decompress, tfhecompressedcompactpublickey_deserialize, tfhecompressedcompactpublickey_new, tfhecompressedcompactpublickey_serialize, tfhecompressedpublickey_decompress, tfhecompressedpublickey_deserialize, tfhecompressedpublickey_new, tfhecompressedpublickey_serialize, tfhecompressedserverkey_deserialize, tfhecompressedserverkey_new, tfhecompressedserverkey_serialize, tfheconfigbuilder_build, tfheconfigbuilder_default, tfheconfigbuilder_default_with_big_encryption, tfheconfigbuilder_default_with_small_encryption, tfhepublickey_deserialize, tfhepublickey_new, tfhepublickey_serialize)
➤ YN0000: [snap]:
➤ YN0000: [snap]: • export 'default' (imported as 'wasm') was not found in './tfhe_bg.wasm' (possible exports: __wbg_compactfhebool_free, __wbg_compactfheboollist_free, __wbg_compactfheint128_free, __wbg_compactfheint128list_free, __wbg_compactfheint160_free, __wbg_compactfheint160list_free, __wbg_compactfheint16_free, __wbg_compactfheint16list_free, __wbg_compactfheint256_free, __wbg_compactfheint256list_free, __wbg_compactfheint32_free, __wbg_compactfheint32list_free, __wbg_compactfheint64_free, __wbg_compactfheint64list_free, __wbg_compactfheint8_free, __wbg_compactfheint8list_free, __wbg_compactfheuint128_free, __wbg_compactfheuint128list_free, __wbg_compactfheuint160_free, __wbg_compactfheuint160list_free, __wbg_compactfheuint16_free, __wbg_compactfheuint16list_free, __wbg_compactfheuint256_free, __wbg_compactfheuint256list_free, __wbg_compactfheuint32_free, __wbg_compactfheuint32list_free, __wbg_compactfheuint64_free, __wbg_compactfheuint64list_free, __wbg_compactfheuint8_free, __wbg_compactfheuint8list_free, __wbg_compressedfhebool_free, __wbg_compressedfheint128_free, __wbg_compressedfheint160_free, __wbg_compressedfheint16_free, __wbg_compressedfheint256_free, __wbg_compressedfheint32_free, __wbg_compressedfheint64_free, __wbg_compressedfheint8_free, __wbg_compressedfheuint128_free, __wbg_compressedfheuint160_free, __wbg_compressedfheuint16_free, __wbg_compressedfheuint256_free, __wbg_compressedfheuint32_free, __wbg_compressedfheuint64_free, __wbg_compressedfheuint8_free, __wbg_fhebool_free, __wbg_fheint128_free, __wbg_fheint160_free, __wbg_fheint16_free, __wbg_fheint256_free, __wbg_fheint32_free, __wbg_fheint64_free, __wbg_fheint8_free, __wbg_fheuint128_free, __wbg_fheuint160_free, __wbg_fheuint16_free, __wbg_fheuint256_free, __wbg_fheuint32_free, __wbg_fheuint64_free, __wbg_fheuint8_free, __wbg_tfhe_free, __wbg_tfheclientkey_free, __wbg_tfhecompactpublickey_free, __wbg_tfhecompressedcompactpublickey_free, __wbg_tfhecompressedpublickey_free, __wbg_tfhecompressedserverkey_free, __wbg_tfheconfig_free, __wbg_tfheconfigbuilder_free, __wbg_tfhepublickey_free, __wbindgen_add_to_stack_pointer, __wbindgen_exn_store, __wbindgen_free, __wbindgen_malloc, __wbindgen_realloc, compactfhebool_deserialize, compactfhebool_encrypt_with_compact_public_key, compactfhebool_expand, compactfhebool_safe_deserialize, compactfhebool_safe_serialize, compactfhebool_serialize, compactfheboollist_deserialize, compactfheboollist_encrypt_with_compact_public_key, compactfheboollist_expand, compactfheboollist_serialize, compactfheint128_deserialize, compactfheint128_encrypt_with_compact_public_key, compactfheint128_expand, compactfheint128_safe_deserialize, compactfheint128_safe_serialize, compactfheint128_serialize, compactfheint128list_deserialize, compactfheint128list_encrypt_with_compact_public_key, compactfheint128list_expand, compactfheint128list_serialize, compactfheint160_deserialize, compactfheint160_encrypt_with_compact_public_key, compactfheint160_expand, compactfheint160_safe_deserialize, compactfheint160_safe_serialize, compactfheint160_serialize, compactfheint160list_deserialize, compactfheint160list_encrypt_with_compact_public_key, compactfheint160list_expand, compactfheint160list_serialize, compactfheint16_deserialize, compactfheint16_encrypt_with_compact_public_key, compactfheint16_expand, compactfheint16_safe_deserialize, compactfheint16_safe_serialize, compactfheint16_serialize, compactfheint16list_deserialize, compactfheint16list_expand, compactfheint16list_serialize, compactfheint256_deserialize, compactfheint256_encrypt_with_compact_public_key, compactfheint256_expand, compactfheint256_safe_deserialize, compactfheint256_safe_serialize, compactfheint256_serialize, compactfheint256list_deserialize, compactfheint256list_encrypt_with_compact_public_key, compactfheint256list_expand, compactfheint256list_serialize, compactfheint32_deserialize, compactfheint32_encrypt_with_compact_public_key, compactfheint32_expand, compactfheint32_safe_deserialize, compactfheint32_safe_serialize, compactfheint32_serialize, compactfheint32list_deserialize, compactfheint32list_expand, compactfheint32list_serialize, compactfheint64_deserialize, compactfheint64_encrypt_with_compact_public_key, compactfheint64_expand, compactfheint64_safe_deserialize, compactfheint64_safe_serialize, compactfheint64_serialize, compactfheint64list_deserialize, compactfheint64list_expand, compactfheint64list_serialize, compactfheint8_deserialize, compactfheint8_encrypt_with_compact_public_key, compactfheint8_expand, compactfheint8_safe_deserialize, compactfheint8_safe_serialize, compactfheint8_serialize, compactfheint8list_deserialize, compactfheint8list_expand, compactfheint8list_serialize, compactfheuint128_deserialize, compactfheuint128_encrypt_with_compact_public_key, compactfheuint128_expand, compactfheuint128_safe_deserialize, compactfheuint128_safe_serialize, compactfheuint128_serialize, compactfheuint128list_deserialize, compactfheuint128list_encrypt_with_compact_public_key, compactfheuint128list_expand, compactfheuint128list_serialize, compactfheuint160_deserialize, compactfheuint160_encrypt_with_compact_public_key, compactfheuint160_expand, compactfheuint160_safe_deserialize, compactfheuint160_safe_serialize, compactfheuint160_serialize, compactfheuint160list_deserialize, compactfheuint160list_encrypt_with_compact_public_key, compactfheuint160list_expand, compactfheuint160list_serialize, compactfheuint16_deserialize, compactfheuint16_encrypt_with_compact_public_key, compactfheuint16_expand, compactfheuint16_safe_deserialize, compactfheuint16_safe_serialize, compactfheuint16_serialize, compactfheuint16list_deserialize, compactfheuint16list_expand, compactfheuint16list_serialize, compactfheuint256_deserialize, compactfheuint256_encrypt_with_compact_public_key, compactfheuint256_expand, compactfheuint256_safe_deserialize, compactfheuint256_safe_serialize, compactfheuint256_serialize, compactfheuint256list_deserialize, compactfheuint256list_encrypt_with_compact_public_key, compactfheuint256list_expand, compactfheuint256list_serialize, compactfheuint32_deserialize, compactfheuint32_encrypt_with_compact_public_key, compactfheuint32_expand, compactfheuint32_safe_deserialize, compactfheuint32_safe_serialize, compactfheuint32_serialize, compactfheuint32list_deserialize, compactfheuint32list_expand, compactfheuint32list_serialize, compactfheuint64_deserialize, compactfheuint64_encrypt_with_compact_public_key, compactfheuint64_expand, compactfheuint64_safe_deserialize, compactfheuint64_safe_serialize, compactfheuint64_serialize, compactfheuint64list_deserialize, compactfheuint64list_expand, compactfheuint64list_serialize, compactfheuint8_deserialize, compactfheuint8_encrypt_with_compact_public_key, compactfheuint8_expand, compactfheuint8_safe_deserialize, compactfheuint8_safe_serialize, compactfheuint8_serialize, compactfheuint8list_deserialize, compactfheuint8list_expand, compactfheuint8list_serialize, compressedfhebool_decompress, compressedfhebool_deserialize, compressedfhebool_encrypt_with_client_key, compressedfhebool_safe_deserialize, compressedfhebool_safe_serialize, compressedfhebool_serialize, compressedfheint128_decompress, compressedfheint128_deserialize, compressedfheint128_encrypt_with_client_key, compressedfheint128_safe_deserialize, compressedfheint128_safe_serialize, compressedfheint128_serialize, compressedfheint160_decompress, compressedfheint160_deserialize, compressedfheint160_encrypt_with_client_key, compressedfheint160_safe_deserialize, compressedfheint160_safe_serialize, compressedfheint160_serialize, compressedfheint16_decompress, compressedfheint16_deserialize, compressedfheint16_encrypt_with_client_key, compressedfheint16_safe_deserialize, compressedfheint16_safe_serialize, compressedfheint16_serialize, compressedfheint256_decompress, compressedfheint256_deserialize, compressedfheint256_encrypt_with_client_key, compressedfheint256_safe_deserialize, compressedfheint256_safe_serialize, compressedfheint256_serialize, compressedfheint32_decompress, compressedfheint32_deserialize, compressedfheint32_encrypt_with_client_key, compressedfheint32_safe_deserialize, compressedfheint32_safe_serialize, compressedfheint32_serialize, compressedfheint64_decompress, compressedfheint64_deserialize, compressedfheint64_encrypt_with_client_key, compressedfheint64_safe_deserialize, compressedfheint64_safe_serialize, compressedfheint64_serialize, compressedfheint8_decompress, compressedfheint8_deserialize, compressedfheint8_encrypt_with_client_key, compressedfheint8_safe_deserialize, compressedfheint8_safe_serialize, compressedfheint8_serialize, compressedfheuint128_decompress, compressedfheuint128_deserialize, compressedfheuint128_encrypt_with_client_key, compressedfheuint128_safe_deserialize, compressedfheuint128_safe_serialize, compressedfheuint128_serialize, compressedfheuint160_decompress, compressedfheuint160_deserialize, compressedfheuint160_encrypt_with_client_key, compressedfheuint160_safe_deserialize, compressedfheuint160_safe_serialize, compressedfheuint160_serialize, compressedfheuint16_decompress, compressedfheuint16_deserialize, compressedfheuint16_encrypt_with_client_key, compressedfheuint16_safe_deserialize, compressedfheuint16_safe_serialize, compressedfheuint16_serialize, compressedfheuint256_decompress, compressedfheuint256_deserialize, compressedfheuint256_encrypt_with_client_key, compressedfheuint256_safe_deserialize, compressedfheuint256_safe_serialize, compressedfheuint256_serialize, compressedfheuint32_decompress, compressedfheuint32_deserialize, compressedfheuint32_encrypt_with_client_key, compressedfheuint32_safe_deserialize, compressedfheuint32_safe_serialize, compressedfheuint32_serialize, compressedfheuint64_decompress, compressedfheuint64_deserialize, compressedfheuint64_encrypt_with_client_key, compressedfheuint64_safe_deserialize, compressedfheuint64_safe_serialize, compressedfheuint64_serialize, compressedfheuint8_decompress, compressedfheuint8_deserialize, compressedfheuint8_encrypt_with_client_key, compressedfheuint8_safe_deserialize, compressedfheuint8_safe_serialize, compressedfheuint8_serialize, fhebool_decrypt, fhebool_deserialize, fhebool_encrypt_with_client_key, fhebool_encrypt_with_compact_public_key, fhebool_encrypt_with_compressed_public_key, fhebool_encrypt_with_public_key, fhebool_safe_deserialize, fhebool_safe_serialize, fhebool_serialize, fheint128_decrypt, fheint128_deserialize, fheint128_encrypt_with_client_key, fheint128_encrypt_with_compact_public_key, fheint128_encrypt_with_compressed_public_key, fheint128_encrypt_with_public_key, fheint128_safe_deserialize, fheint128_safe_serialize, fheint128_serialize, fheint160_decrypt, fheint160_deserialize, fheint160_encrypt_with_client_key, fheint160_encrypt_with_compact_public_key, fheint160_encrypt_with_compressed_public_key, fheint160_encrypt_with_public_key, fheint160_safe_deserialize, fheint160_safe_serialize, fheint160_serialize, fheint16_decrypt, fheint16_deserialize, fheint16_encrypt_with_client_key, fheint16_encrypt_with_compact_public_key, fheint16_encrypt_with_compressed_public_key, fheint16_encrypt_with_public_key, fheint16_safe_deserialize, fheint16_safe_serialize, fheint16_serialize, fheint256_decrypt, fheint256_deserialize, fheint256_encrypt_with_client_key, fheint256_encrypt_with_compact_public_key, fheint256_encrypt_with_compressed_public_key, fheint256_encrypt_with_public_key, fheint256_safe_deserialize, fheint256_safe_serialize, fheint256_serialize, fheint32_decrypt, fheint32_deserialize, fheint32_encrypt_with_client_key, fheint32_encrypt_with_compact_public_key, fheint32_encrypt_with_compressed_public_key, fheint32_encrypt_with_public_key, fheint32_safe_deserialize, fheint32_safe_serialize, fheint32_serialize, fheint64_decrypt, fheint64_deserialize, fheint64_encrypt_with_client_key, fheint64_encrypt_with_compact_public_key, fheint64_encrypt_with_compressed_public_key, fheint64_encrypt_with_public_key, fheint64_safe_deserialize, fheint64_safe_serialize, fheint64_serialize, fheint8_decrypt, fheint8_deserialize, fheint8_encrypt_with_client_key, fheint8_encrypt_with_compact_public_key, fheint8_encrypt_with_compressed_public_key, fheint8_encrypt_with_public_key, fheint8_safe_deserialize, fheint8_safe_serialize, fheint8_serialize, fheuint128_decrypt, fheuint128_deserialize, fheuint128_encrypt_with_client_key, fheuint128_encrypt_with_compact_public_key, fheuint128_encrypt_with_compressed_public_key, fheuint128_encrypt_with_public_key, fheuint128_safe_deserialize, fheuint128_safe_serialize, fheuint128_serialize, fheuint160_decrypt, fheuint160_deserialize, fheuint160_encrypt_with_client_key, fheuint160_encrypt_with_compact_public_key, fheuint160_encrypt_with_compressed_public_key, fheuint160_encrypt_with_public_key, fheuint160_safe_deserialize, fheuint160_safe_serialize, fheuint160_serialize, fheuint16_decrypt, fheuint16_deserialize, fheuint16_encrypt_with_client_key, fheuint16_encrypt_with_compact_public_key, fheuint16_encrypt_with_compressed_public_key, fheuint16_encrypt_with_public_key, fheuint16_safe_deserialize, fheuint16_safe_serialize, fheuint16_serialize, fheuint256_decrypt, fheuint256_deserialize, fheuint256_encrypt_with_client_key, fheuint256_encrypt_with_compact_public_key, fheuint256_encrypt_with_compressed_public_key, fheuint256_encrypt_with_public_key, fheuint256_safe_deserialize, fheuint256_safe_serialize, fheuint256_serialize, fheuint32_decrypt, fheuint32_deserialize, fheuint32_encrypt_with_client_key, fheuint32_encrypt_with_compact_public_key, fheuint32_encrypt_with_compressed_public_key, fheuint32_encrypt_with_public_key, fheuint32_safe_deserialize, fheuint32_safe_serialize, fheuint32_serialize, fheuint64_decrypt, fheuint64_deserialize, fheuint64_encrypt_with_client_key, fheuint64_encrypt_with_compact_public_key, fheuint64_encrypt_with_compressed_public_key, fheuint64_encrypt_with_public_key, fheuint64_safe_deserialize, fheuint64_safe_serialize, fheuint64_serialize, fheuint8_decrypt, fheuint8_deserialize, fheuint8_encrypt_with_client_key, fheuint8_encrypt_with_compact_public_key, fheuint8_encrypt_with_compressed_public_key, fheuint8_encrypt_with_public_key, fheuint8_safe_deserialize, fheuint8_safe_serialize, fheuint8_serialize, init_panic_hook, memory, tfheclientkey_deserialize, tfheclientkey_generate, tfheclientkey_generate_with_seed, tfheclientkey_serialize, tfhecompactpublickey_deserialize, tfhecompactpublickey_new, tfhecompactpublickey_serialize, tfhecompressedcompactpublickey_decompress, tfhecompressedcompactpublickey_deserialize, tfhecompressedcompactpublickey_new, tfhecompressedcompactpublickey_serialize, tfhecompressedpublickey_decompress, tfhecompressedpublickey_deserialize, tfhecompressedpublickey_new, tfhecompressedpublickey_serialize, tfhecompressedserverkey_deserialize, tfhecompressedserverkey_new, tfhecompressedserverkey_serialize, tfheconfigbuilder_build, tfheconfigbuilder_default, tfheconfigbuilder_default_with_big_encryption, tfheconfigbuilder_default_with_small_encryption, tfhepublickey_deserialize, tfhepublickey_new, tfhepublickey_serialize)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels