Skip to content

Password Shield is a Password Manager written in C++ and uses RSA algorithm for pasword encryption and decryption

Notifications You must be signed in to change notification settings

SdAm1n/password_shield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Password Shield

Password Shield is a Password Manager TUI program written in C++. This program uses file (password.txt) to store Website name, Username/Email and Password. RSA Algorithm is implemented inside this program. Password Encryption and Decryption is done by RSA Algorithm. RSA algorithm is an asymmetric cryptography algorithm.

This program can do the following things:

First asks for the master password which is 1234

  1. Generates a pseudo random password
    1. Generated password is automatically copied to clipboard using ClipboardXX library
    2. Passwords can be saved inside the password.txt file
  2. Stores the password in password.txt file. Before storing it encrypts the password using Public Key.
  3. Finds the saved passwords from password.txt . It finds the encrypted password then decrypts it using Private Key before printing.
  4. Change a particular password. Finds the encrypted password then replaces it with another new encrypted password.
  5. Delete an entry (whole line).
  6. View Saved Passwords. It reads from the password.txt file and decrypts all the password using Private Key before printing it to the terminal/console.

q Quits the program.

Password Shield

Requirements:

C++ compiler (C++17 or above is needed to compile the program) needs to be installed in your pc. gcd() function is used inside this code that is only available from C++17. To Download the latest compiler SEE MSYS2 or For VS Code Users.

You can also run it using Codeblocks. Change your compiler in codeblocks to C++ 17 or above (settings > compiler).

This program uses this external library to copy paste generated password automatically to clipboard. This library only works on Windows and Linux (X11 only). Please see the external library Github Page for further info.

conio.h header file is not available outside of Windows. If you want to run this program on linux, you need to download the header file.

About

Password Shield is a Password Manager written in C++ and uses RSA algorithm for pasword encryption and decryption

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages