Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
OfficialAhmed committed Jun 13, 2023
1 parent 8216fbf commit 8a3857c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
9 changes: 1 addition & 8 deletions interface/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,10 @@
</div>

<div class="tab-contents">
<div role="tabpanel" id="text_encode_tab" aria-labelledby="text_encode_tab_id" hidden
class="tab-content">
<div role="tabpanel" id="text_encode_tab" aria-labelledby="text_encode_tab_id" hidden class="tab-content">
<div class="row" id="text_encode_box">
<div class="col">

<!--
User encoding inputs here
-->

<div class="form-group">
<label for="text" id="i5vorh">Text:</label>
<input type="text" id="text_encode_message" name="text"
Expand Down
1 change: 0 additions & 1 deletion interface/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ function is_text_into_image_input_valid(msg, pswd, key) {
return false;
}


async function encode_text() {
const password = document.getElementById('text_encode_pass').value;
const message = document.getElementById('text_encode_message').value;
Expand Down
4 changes: 0 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def get_file(file_type) -> str|None:

return file if file else None


@eel.expose
def encode_text(text: str, image: str, user_enc_pswd: str) -> tuple:

Expand All @@ -59,7 +58,6 @@ def encode_text(text: str, image: str, user_enc_pswd: str) -> tuple:
except Exception as e:
return (False, str(e))

chr()
@eel.expose
def decode_text(img: str, key: str, pswd: str) -> str:

Expand All @@ -82,7 +80,6 @@ def decode_text(img: str, key: str, pswd: str) -> str:

return f"UNABLE TO DECRYPT MESSAGE!: {e}"


@eel.expose
def encode_image(cover, secret, compression_ration):

Expand All @@ -99,7 +96,6 @@ def encode_image(cover, secret, compression_ration):
except Exception as e:
return (False, str(e))


@eel.expose
def decode_image(image):
try:
Expand Down

0 comments on commit 8a3857c

Please sign in to comment.