From 1e31340583f1263c6261ee1257fb54d862ba04dd Mon Sep 17 00:00:00 2001 From: Yash Karandikar Date: Wed, 19 Jan 2022 11:14:54 -0600 Subject: [PATCH] Add README.md --- cryptrs/README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 cryptrs/README.md diff --git a/cryptrs/README.md b/cryptrs/README.md new file mode 100644 index 0000000..0374536 --- /dev/null +++ b/cryptrs/README.md @@ -0,0 +1,26 @@ +# CryptRS + +[Live App](https://etc.karx.xyz/rgl/cryptrs) + +## Implementation details +This app uses Rust's type system to easily convert between characters and numeric types. After that, it's just a simple Vignere table lookup and then conversion back to a numeric type. + +## Running Locally +1. Install dependencies + First, install `rust` from [the Rust website](https://www.rust-lang.org/). Then, install `trunk`: + ```bash + cargo install --locked trunk + ``` + This project requires `rustc` version `1.57.0 stable` because it uses the 2021 edition of Rust! +2. Build project + ```bash + cd /path/to/cryptrs + trunk serve + ``` +3. Open in browser + + [Check the supported browser list](https://rustwasm.github.io/docs/wasm-bindgen/reference/browser-support.html) and open https://localhost:8080 in one of the supported browsers. + + +Created using [Sycamore](https://crates.io/crates/sycamore) and Rust with WebAssembly +