Html Data Encryption

Key showMe
editThis >>

content

Set Key
genCode >>

content editing

<< back

HashedCode

Html Data Encryption V1.3


Intro


This opensourced and offline-operating tool will help you encrypt data without submitting data to any platform/software you don't trast!

By Kevin Liu (kevin24hour@gmail.com)



Documetation


Requirement:
- a HDE html file.
- a browser. (e.g. Chrome,Firefox,IE... )
- a code editor. (e.g. Notepad++,Sublime,Atom...)
- little bit knowledge about web development, like HTML, Javascript, CSS, so that you can understand the source code of this HTML file is safe. You also need to edit this file in normal usage.

How to use:
1. open HDE html file with a browser.
2. if this is your firt time, click "Hashing" on nav bar.
3. set a key(more than 6 words or numbers or any symbols), input some content into textarea under "content editing", click "genCode".
4. after that, page show some text in textarea under "HashedCode". This is a array variable called "hashedContent" which containing encrypted information. copy the whole variable.
5. open the same HDE html file with a code editor now. you will find there is a variable also called "hashedContent" at line 5, paste the variable you just copied, cover original one. Save file.
6. open HDE html file with a browser again(refresh). In the home page, enter the key you set, then click "showMe", your content then show correctly.
7. so what will happen if enter a wrong key, nothing or weird and Garbled character will be shown in content box.

How it work:
1. change key and content into unicode array.
2. muddle sequence of values in content array base on key and length of key.
3. muddle value in content array base on a math function with unknow elements from key array and length of key.

Advantage:
- html file is totally open-source.
- html file can be run in any moden browser, any device.

Caution:
- this sample hasing method can be cracked by Brute-force cracking. fortunately, as the key accepting any punctuation and no length limit, so if you set a key about 10 character long, it will be enough for a super computer to spend 10 years to crack(Moore's Law has been considered).

Advice:
- never trust browser and keyboard app from China.




update log


V1.3 (2016/09/16)
- add bootstrap grid system, improve interface on smartphone


V1.2 (2016/08/05)
- redesign interface
- add canvas logo


V1.1 (2016/07/29)
- improve hasing function