File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ A simple image encryption and decryption tool.
33The code runs at browser side, using WebAssembly.
44The encryption is based on Chaotic Logistic Map.
55
6- A hosted version is available at [ here] ( https://menxli.github.io/chaotic-enc / ) .
6+ A hosted version is available at [ here] ( https://menxli.github.io/im-cipher / ) .
77
88To build for your own use, you need to install Rust and wasm-pack.
99Then run ` make wasm ` . The frontend will be built at ` app/ ` directory.
Original file line number Diff line number Diff line change 77</ head >
88
99< body >
10- < title > Image chiper </ title >
10+ < title > Image cipher </ title >
1111 < div class ="container ">
12- < h2 > Image chiper </ h2 >
12+ < h2 > Image cipher </ h2 >
1313 < p >
1414 This app encode your image to pure noise,
1515 only person with the secret can decode it back.
@@ -66,7 +66,7 @@ <h2>Image chiper</h2>
6666 < footer id ="footer ">
6767 < p style ="text-align: center; font-size: 0.8rem; ">
6868 The source code is available at
69- < a href ="https://github.com/MenxLi/chaotic-enc "> menxli/chaotic-enc </ a > .
69+ < a href ="https://github.com/MenxLi/im-cipher "> menxli/im-cipher </ a > .
7070 </ p >
7171 </ footer >
7272
Original file line number Diff line number Diff line change @@ -67,12 +67,6 @@ function resetOutput() {
6767 footer . style . top = '-3rem' ;
6868}
6969
70- /**
71- * Prepare the output area: display the image, and set up the download button.
72- * @param {string } type - 'encoded' / 'decoded'
73- * @param {Uint8Array } imBlob - The image data as a Uint8Array
74- * @param {string } format - The image format, 'png'/'jpeg'
75- */
7670async function showImage ( type , imBlob , format ) {
7771 resetOutput ( ) ;
7872 ensureOutput ( ) ;
You can’t perform that action at this time.
0 commit comments