[noise] JavaScript (WebAssembly) port of noise-c implementation

Nazar Mokrynskyi nazar at mokrynskyi.com
Tue Sep 5 18:10:27 PDT 2017

Hello everyone,

Recently I was looking for crypto protocol for upcoming project and found Noise, which seemed to fit in my use case, but didn't have existing JavaScript implementation.

So I took noise-c, compiled it with Emscripten to WebAssembly and wrote an OOP wrapper around it almost identically to specification.

Since I'm not a crypto expert and not familiar with Noise in real-world applications, it would be nice to get some feedback and review from wider community.

The project itself: https://github.com/nazar-pc/noise-c.wasm

There is no standalone documentation yet, but there are JsDoc sections in src/index.{ls,js} files (LiveScript compiled to JavaScript, whatever you prefer to read) and tests should give a pretty good idea about how to use it, especially for those who read the spec first.

Special thanks to Rhys Weatherley for C implementation and the rest of community for creating this protocol in the first place!

Sincerely, Nazar Mokrynskyi

More information about the Noise mailing list