Skip to content

Commit 46f75e2

Browse files
committed
rename
1 parent ba79ac2 commit 46f75e2

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ A simple image encryption and decryption tool.
33
The code runs at browser side, using WebAssembly.
44
The 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

88
To build for your own use, you need to install Rust and wasm-pack.
99
Then run `make wasm`. The frontend will be built at `app/` directory.

app/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
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

app/script.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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-
*/
7670
async function showImage(type, imBlob, format) {
7771
resetOutput();
7872
ensureOutput();

0 commit comments

Comments
 (0)