Skip to content

Latest commit

 

History

History

concrete-core-wasm

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Concrete-Core Wasm Interface

This crate exposes an experimental Wasm interface to the concrete-core library. Using this api, it is possible to execute FHE operations in the browser for instance.

This API is currently experimental and therefore unstable in terms of naming and exposed structures/entry points.

An example

Building concrete-core-wasm for nodejs.

To build concrete-core-wasm, you will not only need rust to be installed, but also a named wasm-pack. This tool will not only call the rust compiler to generate the wasm code, but will also generate a javascript boilerplate to ease the integration with your usecase (be it nodejs, or for the browser).

To install wasm-pack see the project homepage.

Then you can use wasm-pack to compile the concrete-core-wasm api with:

wasm-pack build --target nodejs

Links

License

This software is distributed under the BSD-3-Clause-Clear license. If you have any questions, please contact us at hello@zama.ai.