Giter Site home page Giter Site logo

r2p's Introduction

PWA to encrypt and decrypt text

R2P in action

This is a very simple progressive web app that has zero dependencies and is easy to audit. The goal is to give the user a tool to encrypt or decrypt textual data, that can be sent or stored separately.

Remember that for decryption you need to know the passphrase used to encrypt the text.

Do not store the passphrase next to the encrypted text.

For sensitive data use longer passphrase (random password 18+characters of 6+ words).

When you type the passphrase, the app gives you three words which are the "fingerprint" of the passphrase. The "fingerprint" is useful to make sure you typed the right passphrase without revealing the passphrase. Also, if you store the fingerprint next to the encrypted text it will help you remember the passphrase you used. It is impossible to reconstruct the passphrase from the fingerprint.

Split and join give you the possibility to protect your data (encrypted or unencrypted) by splitting it into 2 pieces that should be stored separately.


To install, you need to serve the app. Download the code, serve it locally with some static server (f.e. https://github.com/http-party/http-server) then make it public on the internet (f.e. https://ngrok.com), access the url, install the app (f.e. on phone add it from browser to desktop). Then you can stop ngrok and your local server, app will still be available. This app once installed will not use new changes published online, you will have to re-install if you want to upgrade.

You can also use or install the app from the page published by this repository https://saldoukhov.github.io/r2p. But, if this repository goes down, and you lose the device with this app installed, you will have hard time decrypting your secrets. So the best practice would be to store this code in your own domain.

r2p's People

Contributors

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