-
Notifications
You must be signed in to change notification settings - Fork 0
/
Readme.txt
36 lines (19 loc) · 1.22 KB
/
Readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Project Title : Encrypting and Decrypting Data
IMPORTANT :
MAKE SURE YOU HAVE THE ALL THE 3 txt FILES IN THE SAME DIRECTORY WHERE THE .py script is present.
Important variables and their function:
<kdf> calculates the hash value of the message over a period of 100k[1 Lakh] iterations,the algorithm used here is SHA256.
<key> holds the password in the base64 format so that it can be used for encryption and generate a message digest.
Before making changes to any code,please ensure that you have the following modules/packages installed.
Step 0: You will be requiring some modules,out of which one requires installation
0.1 Installing the modules:
pip install cryptography
0.1.E if any error is occured google search the error with the exact keywords
0.2 Check if the modules are installed: <Go to the Command line or Python idle and type the following>
import os
import system
import cryptography
0.3.E if any error has occured, then the installation of any of the module hasn't been completed properly
0.3 If the intrepreter doesn't return any error then you are set to go.
steap 1: You may replace the variable "salt" by generating a random value from <os.random(16)>
step2 : Make the changes and run the code