Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.41 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.41 KB

PQCrypto for WASM

The Post-Quantum Standarization competition has reached its third round. Few algorithms are left as finalists to be standardized and real-world implementations are emerging. In this project, I want to broaden the field of implementations.

WebAssembly (WASM) is a portable binary-code format for executable programs including a textual representation for programs.

The main goal of WASM is to enable high-performance applications on web pages, but the format is designed to be executed and integrated in other environments as well, including standalone ones.

The idea is to take PQCRYPTO algorithm implementations (e.g. Kyber or Saber) and compile them for WASM targets.

Besides potential non-optimality of compiler output, security issues such as random number generation need to be considered and evaluated. The second step is thus an evaluation of the status quo of WASM runtimes.

Depending on my advance, I may shift the focus to optimization (w.r.t. memory or runtime) or recommendations to increase security in the WASM runtime.

Goals and Tasks

  • Compile rust/wat implementations to WASM
  • Verify correctness in browser setup
  • Optimize or evaluate security in WASM