Code Monkey home page Code Monkey logo

privatenotesbackend's Introduction

PrivateNotesBackend

Back-end implementation designed for a private cloud-based note-taking application. Utilizes the cryptography library in Python to ensure security and privacy. Adversaries will not be able to learn anything about notes in the database that it does not specifically access (more about this in the threat model below).

Built to withstand a specific cryptographic threat model in which the adversary may submit four queries any number of times: -Insert: Adversary specifies a <title, note0, note1>. The challenger adds <title, noteB> to the database, where noteB is randomly chosen from note0 or note1. -Retrieve: Adversary specifies a title and the challenger replies with the associated note -Remove: The adversary specifies a title and the challenger removes said title/note pair from the database -Serialize: The challenger serializes the current contents of the application and sends this to the adversary. The adversary then gives the challenger a new string which they deserialize, and this becomes the new state of the application. (If the state of the application is ever detected as incorrect, the application should not function).

This backend is also built to withstand two specific attacks: -Swap Attack: The adversary switches the values corresponding to different keys (titles). Then, when the application user attempts to access one note, they share sensitive information about the other one instead. -Rollback Attack: The adversary can replace a note with a previous version of the same note.

privatenotesbackend's People

Contributors

kylefirman 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.