Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update main.py #15

Closed
wants to merge 3 commits into from
Closed

Conversation

anushka17agarwal
Copy link
Contributor

update main.py

update main.py
@mihirs16
Copy link
Contributor

mihirs16 commented Sep 9, 2020

  1. Don't have to use anything from keys_init.py
  2. Use the Debug/Message objects from utils.py to print messages to screen.
  3. For Encrypt and Decrypt, you don't have to use generate_encryption. Instead you have to use encryption from encryption.py
  4. In Add, Subtract and Modify you need to check if the file is encrypted or not. If file is encrypted, then you must decrypt it, call the add function (or for now, just a message would do) and then re-encrypt it. If not encrypted, you can directly call the add function (for now message would do).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants