Coder Social home page Coder Social logo

peacefulhorizon / encryptedpythonnotebook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bitwise-01/notebook

1.0 0.0 0.0 66.97 MB

An encrypted notebook (created by Bitwise-01)

Home Page: https://securenotebook.pythonanywhere.com/

License: MIT License

JavaScript 23.06% Python 37.33% CSS 19.34% HTML 20.27%

encryptedpythonnotebook's Introduction

Notebook

An app you can trust your secrets with.
This app uses AES-128 GCM to prevent anyone but you from accessing your notes.

Version Python Discord Donate

How does work?

Register

  1. Generates a 16-bytes (128-bits) AES key
  2. Derives a master key from your password
  3. Encrypts AES key using master key
  4. Hashes your password
  5. Saves hashed password to database
  6. Saves encrypted AES key to database

Login

  1. Derives a master key from your password
  2. Saves master key into your browser's session

Encrypt data

  1. Gets your master key from your session
  2. Uses your master key to decrypt your AES key
  3. Uses your decrypted AES key to encrypt your data

Decrypt data

  1. Gets your master key from your session
  2. Uses your master key to decrypt your AES key
  3. Uses your decrypted AES key to decrypt your data

Notice:

Your master key is only derivable from your plain-text password
Your plain-text is only available when you are logging in
Your master key is never saved into a database
Your decrypted AES key is never saved

Warning:

If you lost your password, then your notes will be lost as well

Usage

Installation

$> pipenv --python 3.9 
$> pipenv install

Start

$> python notebook.py

Navigate to the following URL within your browser

http://localhost:5000

encryptedpythonnotebook's People

Contributors

bitwise-01 avatar mzch avatar

Stargazers

 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.