Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💪 ElectronJs Based Password Manager works with localhost MongoDB or Docker mongoDB.

🌱 Getting Started

Download mongoDB locally.

To run the code:

  • for Encryption
    • create .env file in app directory
  • Generate secure 256-bit key and Initialization Vector by running Below code
const crypto = require('crypto');

const algorithm = 'aes-256-cbc';
const secretKey = crypto.randomBytes(32);  // Secure 256-bit key
const iv = crypto.randomBytes(16); // Initialization vector

console.log(`256-bit key is: ${secretKey}`);
console.log(`Init.. vector is: ${iv}`);

place key secure key and init... vector inside .env file

SECRET_KEY=xxxxxx
IV=xxxxxx

For running the application

make sure mongoDB is running before running the application.

npm i
npm start

🏍️ Other Repositories

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages