chacha-poly1305-wasm

Native Rust compiled to WASM for Chacha Poly1305 exposure in Node

Usage no npm install needed!

<script type="module">
  import chachaPoly1305Wasm from 'https://cdn.skypack.dev/chacha-poly1305-wasm';
</script>

README

chacha-poly1305-wasm

Build Status

Matt Corallo's Rust implementation of Chacha-Poly1305 from rust-lightning exposed through WASM.

Setup

First, install Rust. Then, run

npm run compile
npm run extract

Install

npm install chacha-poly1305-wasm

It should be chacha-poly1305-wasm one day.

License

MIT