<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi folks,</p>
<p>Have some good news about WebAssembly port of noise-c!<br>
</p>
<p>I've worked on test vectors today and now noise-c.wasm passes all
of the vectors included in noise-c repository, so in terms of spec
compliance (v30 according to noise-c's website at the moment) it
should be on par with noise-c.</p>
<p>While working on test vectors only single minor issue was found,
so I've published version 0.1.0 on NPM:
<a class="moz-txt-link-freetext" href="https://www.npmjs.com/package/noise-c.wasm">https://www.npmjs.com/package/noise-c.wasm</a><br>
</p>
<p>Performance comparison would be interesting indeed, I can do the
work on my side in JavaScript if someone can write benchmark in C
or any other language.</p>
<pre class="moz-signature" cols="0">Sincerely, Nazar Mokrynskyi
github.com/nazar-pc</pre>
<div class="moz-cite-prefix">On 9/8/17 9:02 AM, Trevor Perrin wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGZ8ZG3uCY8NUvJ=5+_O=6GELp6dnxQPzjBEFk1vTstT-80p3Q@mail.gmail.com">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Sep 6, 2017 at 1:10 AM, Nazar
Mokrynskyi <span dir="ltr"><<a
href="mailto:nazar@mokrynskyi.com" target="_blank"
moz-do-not-send="true">nazar@mokrynskyi.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hello everyone,<br>
<br>
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.<br>
<br>
So I took noise-c, compiled it with Emscripten to
WebAssembly and wrote an OOP wrapper around it almost
identically to specification.<br>
<br>
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.<br>
<br>
The project itself: <a
href="https://github.com/nazar-pc/noise-c.wasm"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://github.com/nazar-pc/<wbr>noise-c.wasm</a></blockquote>
<div><br>
</div>
<div><br>
</div>
<div>Hi Nazar,</div>
<div><br>
</div>
<div>Sweet! I added it to the wiki:</div>
<div><br>
</div>
<div><a
href="https://github.com/noiseprotocol/noise_wiki/wiki"
moz-do-not-send="true">https://github.com/noiseprotocol/noise_wiki/wiki</a><br>
</div>
<div><br>
</div>
<div>In the past we've kept new libraries there for awhile,
then eventually linked them from main website once we
build up a bit of confidence in them.</div>
<div><br>
</div>
<div><br>
</div>
<div>I have no experience with WebAssembly, but it seems
like a great idea (and a better approach to Javascript
crypto than WebCrypto, IMO). </div>
<div><br>
</div>
<div>It would be interesting to see performance comparison
between Noise-C compiled natively versus WebAssembly, if
you or anyone wanted to run benchmarks.</div>
<div><br>
</div>
<div>Trevor</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>