Git Product home page Git Product logo

selfdecryptingimage's Introduction

SelfDecryptingImage

Encrypted image with AES and embed it into HTML file, which displays original image if proper key is supplied

Purpose

Image files, such as screenshots and photos often contain personal information. It is important to share them in a manner, which prohibits the ISP from intercepting the images. There are services, which do store data encrypted, but the files are then decrypted on request by server, thus disclosing encryption key. This project strives to solve the problem of storing images securely by making decryption key a hashtag, which is not sent to remote server when requesting resources.

As a result, users could be securely swapping images by sending URLs, which could look like this:

https://hostname.com/host/file.html#Yc6XHEWmaZQcEzajGab63pWLUsy7ucQ4Wz1hiWtdb3s=

When requested on the server, only the following part will be sent:

https://hostname.com/host/file.html

thus concealing file decryption key.

Compiling

The project is built using monodevelop and requires Mono/.NET 4.5 framework. It is possible to build the project using Visual Studio 2012 and higher.

It is required to have uglifyjs installed in order to complete the build. To test if it is installed, run echo 1 | uglifyjs from command line. There sohuld be no error

Tools supplied

makesdi

convert jped or png file into a self-decrypting HTML. Resulting file has necessary libraries embedded to decrypt embedded image in browser, if a proper key and iv are supplied on the URL line

postsdi

will post the supplied jpeg or png file to google drive and share the folder, making file accessible from the Inrernet. One usage scenario could be using it with in conjunction with screenshot application, allowing easy and secure sharing of screenshots.

Acknowledgements

These tools contains code from following projects:

selfdecryptingimage's People

Contributors

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