Giter Site home page Giter Site logo

stet / encrypted-html-vault Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ccorcos/encrypted-html-vault

0.0 0.0 0.0 4.56 MB

A utility for creating a secret vault inside an HTML file for maximum portability.

Shell 0.01% JavaScript 0.04% TypeScript 0.17% HTML 99.78%

encrypted-html-vault's Introduction

Encrypted HTML

I keep a USB drive on my keychain with my a picture of my passport and a credit card just in case I find my self in a tight spot on the other side of world. However, if I lose my keys, I don't want anyone to have access to that data. So, I need to encrypt it. But how? What program? How do I decrypt it?

Well, just about every computer in the world these days can open up an HTML file. So what if I base64 inline any images and decrypt everything right in the browser?! That's exactly what I've done.

Example / Demo

I've compiled an example HTML file with the password chet123. You can view the html file here and run the example here.

Making Your Own

If you know how to program, you can easily make your own vault.

  • Rename src/example to src/secret which will gitignore any files you put in here.
  • Start up the development server with npm start and the testing password is "chet123".
  • When you're done developing and want a final html file, run npm run build. You will be prompted for a password -- make sure your password is long so it cannot be brute-forced easily.
  • Open dist/index.html

encrypted-html-vault's People

Contributors

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