jpisani0 / Locals-Password-Manager

Locally stored and encrypted password manager
0 stars 0 forks source link

Create Encryption Class #4

Open jpisani0 opened 4 months ago

jpisani0 commented 4 months ago

Create an abstract class that handles encrypting and decrypting stored passwords for the user.

Encryption algorithm to be used will be discussed and decided on. Should be OK to use a symmetric encryption algorithm but that is also up for discussion and review.

Class should take an input, being either the name of the password entry, the username for that entry, or the password of that entry and return the encryption/decryption of it. Other classes will handle storing/displaying the encrypted/decrypted data.

danmaccarthy1 commented 1 day ago

I think we should create a class with a constructor for generating and storing a key in a key file. It should take data from ManageCredentialFile class and be able to encrypt anything written to a file, then decrypt anything read from a file.