Skip to content

WASM crate #14

Description

@cedoor

Summary

Publish a WASM crate that exposes squid's key generation API to JavaScript/TypeScript clients running in the browser or Node.js.

Background

The WASM crate is scoped to key generation only. Encryption (and homomorphic evaluation) runs server-side. The client uses the WASM crate to generate its keys locally and ships them to the server as needed for the chosen workflow.

Work

  • Create a squid-wasm crate using wasm-bindgen
  • Expose key generation: Context, Params, SecretKey, and EvaluationKey to JS
  • Publish to npm
  • Add a minimal JS/TS usage example covering key generation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions