File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,7 @@ def write_content(hashed_content):
36
36
new_file = open ('Hased data.txt' ,'w' )
37
37
new_file .write (hashed_content )
38
38
new_file .close ()
39
-
40
-
41
-
39
+ print ("Done writing data to file hash data.txt" )
42
40
43
41
if __name__ == "__main__" :
44
42
help ()
Original file line number Diff line number Diff line change @@ -7,4 +7,19 @@ Hashing a file is a python script which takes data from a text file and hash it
7
7
* SHA512
8
8
9
9
10
- It will store all the hashed data into a new text file called as ** Hased data.txt**
10
+ It will store all the hashed data into a new text file called as ** Hased data.txt**
11
+
12
+ ### Installing required libraries
13
+
14
+ `` pip install -r"requirements.txt" ``
15
+
16
+
17
+ ### Using script
18
+
19
+ * `` python app.py <name of the file to hash> ``
20
+
21
+ * Script will display avaliable hasing methods
22
+
23
+ * Enter hashing algorithm that you want to hash
24
+
25
+ * A file with name hash data.txt with hashed content will be saved in same directory
You can’t perform that action at this time.
0 commit comments