Securing Cloud Documents using client-side encryption
₹600-1500 INR
Paid on delivery
Specifically, write a program which on the command “Encrypt” does the following:
1. Encrypts a text file on a randomly generated key using AES-256 in the counter mode (CTR). 2. Appends to the resulting ciphertext its HMAC-SHA256 authentication tag (you will need another random key for the MAC). 3. Uploads the ciphertext alongs with the tag to Google Drive.
On the command “Decrypt”, the program does the following:
1. Downloads the file and the tag from Google Drive. 2. Verifies the MAC, and outputs a “Ciphertext Invalid!” error, if the tag is invalid and stops. 3. Decrypts the ciphertext and outputs the resulting text file.
Will discuss further details if interested.
Project ID: #19292630