Coder Social home page Coder Social logo

secret-keeper's Introduction

Secret-keeper

It will store your secret private and encrypted once you login as user you can store your secret over here.

Project Structure


public            # all styling and scripting files   
├── css      
└── js

views             # all frontend  files.(hbs) 
├── partials      # header and footer.
├── login            
├── register
├── home         
├── secrets
└── submit  

Tech / Framework used


  • Frontend (Hbs , CSS , Javascript, Bootstrap)
  • Backend (NodeJs , ExpressJs)
  • Database (MongoDB , Mongoose)
  • Authentication
  • cookies and sessions

About:

Authentication and Encryption

  • Level-01 : We simply store user details in database and authenticate while user try to login. problem arises if anybody have database access can get user details easily.

  • Level-02 (encrypt) : we use encryption technique as Caesar-Ciphar and an npm package mongoose-encryption.problem arises if anybody have db access and encryption key access can get user details easily as user details stored as binary.

  • Level-03 (Hashing) : we use hashing to hash the password when user signup and hash the password when user try login. for this we use npm package 'md5' as it will generate hash.problem arises as hash value not change for fixed string.we may face dictionary attack by hacker's.

  • Level-04 (Hashing and Salting) : when user signup user details will go through hash function with salting(by random set of string) to generate hash.for this we should use npm package becrypt.this method of encryption is far more secure than level 3.

  • Level-05 (Cookies and Sessions)

  • Level-06 (OAuth 2.0) :

secret-keeper's People

Contributors

shashank9aug avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.