Skip to content

Commit fab46c8

Browse files
committed
update readme
1 parent cecf91c commit fab46c8

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

Readme.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
Chaotic image encryption using the logistic map.
1+
A simple image encryption and decryption tool.
22

3-
Build with:
4-
```sh
5-
cargo build --release
6-
```
3+
The code runs at browser side, using WebAssembly.
4+
The encryption is based on Chaotic Logistic Map.
75

8-
Usage:
9-
```sh
10-
# encode
11-
./target/release/cenc -i original.png -o encoded.png -s your_secret_key
6+
A hosted version is available at [here](https://menxli.github.io/chaotic-enc/).
127

13-
# decode
14-
./target/release/cdec -i encoded.png -o recovered.png -s your_secret_key
15-
```
8+
To build for your own use, you need to install Rust and wasm-pack.
9+
Then run `make wasm`. The frontend will be built at `app/` directory.

0 commit comments

Comments
 (0)