TweetNacl in CT-Wasm
This repository is a fork of TweetNacl in WebAssembly annotated with CT-Wasm labels to ensure constant-time.
This is a semi-handwritten port of the crypto library TweetNacl to CT-Wasm. This is the fastest library for end-to-end encryption running in the browser. It provides state of the art strong cryptography.
It provides the following features:
- Secret-key authenticated encryption
- implements XSalsa20, Poly1305
- Public-key authenticatd encryption
- implements X25519, XSalsa20, Poly1305
- Public-key signatures
- implements Ed25519
- implements SHA512
The CT-Wasm source code can be found in the
npm run build -- path/to/ct_wasm_spec
ct_wasm_spec tool can be found in our
A pre-built version of the library
can be found there as well under
index.html with the modified Chromium binary found in our releases page
dist/wasmCode.js. Then open up the console
to see the benchmark numbers.