forked from Akshay-Arjun/Video-Steganography
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX Akshay-Arjun#1 Enhancement: Extending Project .....
- Loading branch information
1 parent
0ed4b44
commit 3e16db6
Showing
69 changed files
with
29,287 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
iqRiuIjjJdY83yHjYxkdYkbtBNCWbwdtsdKIxfoGUHrYyHlopgQYnbphTc6qVRI6N0fSh/cKG5XzuZCAsGITashg4/hANg8bzc4ifZAR7DVi/wRBuNwBgFHaW50GslqYx6f7Bzxog5sSOZkeCl9LQ8Qyv3aOwFnupsrTh23DaCibajG0qET7V4pgEsBrZf8Mwhu7hE+R3hbCMHMJn17AdJUbWzxMgwA4LOO6YkS4eeTIMAlODDeTFECYNPZuupCEJ+No5bG5FJPsRxTvbXa8RltCwWcRvnZ06Olgs/YK0Op1zI4F5KHkSJe2dWM95bjv+49KajjLLVbzmw71vfVnqF7LiohtwryAnIQJHw2HY4dgXpJo6zSe3tLwHkxFVsegbhUMdaXfh575VZLADIOumLBsVelhbRq37CfXyr8EvBNPZfuidiiJ8FMo2a2F041AUmmHIJkZflJPSEdOmbtsOAow0gKEYdUbeeyljqJ233mancffOX28zr8U9oUIiZWfe9/F4otB5+ypTUgtb5GFP4XdexOzvP+l6cvqHQfBTvFDcljP3zolJmAJQyi15egZQmK8QXlT4n0fhJUiZPrAIlW58Tjk5XuByLK0awkC1CBCtE4vkb8H+vPA4/6XOVWNgS+p5wB2CLeXA4CphQwAP8mOCpjrQYl5KkEn2I3voNNZpOBKDm/sx8coLfYE4kEf8+4SOC0NCeneXOyO8H8oUPQ8q3+7GpmnsoGCAMOC5us80vPFG5VW653SzvMOWsoxdcrQrfONZaCka5NIj8GAuCaH1/CtRC2PXsQWvDDTVcKXTkgqD6grF/RN5eQqDs7cLg== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
RSA Encrypted AES key will be stored in this folder. Share the key text to receiver to decrypt. | ||
DO NOT DELETE THIS FOLDER. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
from flask import Flask,render_template,request,flash | ||
from encode import * | ||
from decode import * | ||
|
||
app=Flask(__name__) | ||
|
||
app.config['SECRET_KEY'] = '12345' | ||
@app.route('/') | ||
def index(): | ||
return render_template('index.html') | ||
|
||
@app.route('/decrypt') | ||
def decrypt(): | ||
return render_template('decrypt.html') | ||
|
||
@app.route('/encrypt') | ||
def Analysis(): | ||
# innn name get from analysisForm.html | ||
name="Vishal Mankotia" | ||
n="Govindani" | ||
print(name) | ||
return render_template('./encrypt.html',name=name,n=n) | ||
|
||
@app.route('/aboutus') | ||
def About(): | ||
return render_template('aboutUs.html') | ||
|
||
@app.route('/encode', methods=['POST','GET']) | ||
def encode(): | ||
result = request.form.to_dict() | ||
cover = result['cover'] | ||
to_hide1 = result['to_hide1'] | ||
|
||
file_type = result['file_type'] | ||
print(type(file_type)) | ||
# a=input("Enter the file type: ") | ||
encode_method1=result['encode_method'] | ||
if(file_type=='5'): | ||
to_hide2=result['to_hide2'] | ||
to_hide3=result['to_hide3'] | ||
to_hide4=result['to_hide4'] | ||
multi(cover,to_hide1,to_hide2,to_hide3,to_hide4,file_type,encode_method1) | ||
else: | ||
final(cover,to_hide1,file_type,encode_method1) | ||
print(cover,to_hide1,file_type) | ||
|
||
a=1 | ||
|
||
return render_template('decrypt.html',set=a) | ||
|
||
@app.route('/decode', methods=['POST','GET']) | ||
def decode(): | ||
result=request.form.to_dict() | ||
to_decode=result["to_decode"] | ||
decode_method=result["decode_method"] | ||
print(to_decode,decode_method) | ||
|
||
message=decrypt_file(to_decode,decode_method) | ||
|
||
|
||
return render_template('done.html',message=message) | ||
|
||
|
||
|
||
app.run(debug=True) |
Oops, something went wrong.