javascript - What is the principle of iEncryption's HTML5 application reinforcement service?
大家讲道理2017-07-05 10:37:14
0
2
1262
http://www.ijiami.cn/h5Encryp...
As the title indicates, what is the encryption principle and what technology is used to achieve it... Does this kind of front-end encryption make sense? ……
Generally, the document is scanned, and then the dom is written from js, and finally the js is confused. To be honest, it is not the same. In the end, it will be parsed into a real html document by the browser, and the source code can still be seen
var o = {
s: x[0]+x[1]+x[2]+[x3]+x[4]+[x5]
}
var x = {
0:'s',
1:'t',
2:'r',
3:'i',
4:'n',
5:'g'
}
var use = o['s'];
If you randomly confuse it a few times, no one will want to see it. Front-end code encryption itself is a false proposition. It must always be recognized by the js engine. The js engine can recognize it and it can be read by humans. Believe it or not, you can spend some time. Time, you can also read the binary code, it is just a matter of reading cost, but its value is not denied.
Generally, the document is scanned, and then the dom is written from js, and finally the js is confused. To be honest, it is not the same. In the end, it will be parsed into a real html document by the browser, and the source code can still be seen
Similar to
===>>
If you randomly confuse it a few times, no one will want to see it.
Front-end code encryption itself is a false proposition. It must always be recognized by the js engine. The js engine can recognize it and it can be read by humans. Believe it or not, you can spend some time. Time, you can also read the binary code, it is just a matter of reading cost, but its value is not denied.