From f111b082493bfc57dbe3fa1edf74581b5957c18f Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sun, 4 Apr 2021 02:57:04 +0200 Subject: add simple readme --- Readme.org | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Readme.org diff --git a/Readme.org b/Readme.org new file mode 100644 index 0000000..b997ea0 --- /dev/null +++ b/Readme.org @@ -0,0 +1,21 @@ +* age-encryption in web assembly + +** Compile +Compile with: + +#+BEGIN_SRC +wasm-pack build --target web +#+END_SRC + +don't forget the ~--target web~, otherwise strange mimetype issues +may arise in browsers. + +** What? +Mostly an experiment how well this works. Public key crypto works fine, +but for some reason decrypting files encrypted with a passphrase takes +an inordinate amount of time, and browsers' mining-detectors tend to +complain. + +The encryption used is the [[https://crates.io/crates/age][age rust crate]], which is a reimplementation +of Filippo Valsorda's [[age-encryption.org][age encryption]]. The rust implementation is still +marked as beta, so this probably shouldn't be used for anything important. -- cgit v1.2.3