/wage

A WASM package and web app for encrypting and decrypting age-encrypted files, powered by rage.

Primary LanguageVueApache License 2.0Apache-2.0

wage

A WASM package and web app for encrypting and decrypting age-encrypted files, powered by rage.

Currently an experimental alpha, with incomplete functionality:

  • Read a JavaScript File as a Rust stream.
  • Recipient encryption.
  • Recipient decryption.
  • Passphrase encryption.
  • Passphrase decryption.
  • Expose a Rust stream to JavaScript as a user-downloadable file.

Development

First, build wage itself as a Rust WASM package:

wasm-pack build

Then set up and run the webapp:

cd www
npm install
npm run serve

The webapp server will hot-reload on changes to the webapp itself. After making changes to the Rust WASM package, rebuild the package and restart the server:

[Ctrl+C]
cd ..
wasm-pack build
cd www
npm run serve

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.