Skip to content

This application is a free password manager where you can input NAME and EMAIL then a complex password will be generated and automatically store them in the Database

Notifications You must be signed in to change notification settings

johnbedeir/password-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

password-manager

This application is a free password manager where you add the NAME and the EMAIL then a PASSWORD will be generated and Encrypted before storing it in the MONGODB database.

Steps to run the application:

  1. Instal MongoDB
  2. Install Studio3T
  3. Make sure MongoDB is installed and running on localhost:27017

Open Studio3T application and connect to mongodb:https://localhost:27017

Connect to the database

Run the App:

./passgen

Output:

Enter name for the password: gmail
Enter user name: [email protected]
Generated password: n@4^lM%6-f,NdkB3
Password stored in MongoDB database with name gmail in collection passwords

The Password will be Encrypted as shown in the database:

For Password Decryption run the following:

./decrypt

This will ask you about the name of the Password you would like to Decrypt and it will be revealed in the terminal as shown.

To build the application:

Install GoLang

NOTE: Make sure Go is installed by running go version

NOTE: You can update the encrypt key in the encrypt.go that will be used in the encryption process.

const encryptKey = "znq2cnz9rja_WFW_cda"

This will create 2 executable files one to generate the password and the other one to decrypt it.

go mod tidy
go build main.go encrypt.go
go build decrypt.go encrypt.go

About

This application is a free password manager where you can input NAME and EMAIL then a complex password will be generated and automatically store them in the Database

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages