Jump to content

How to Encrypt JavaScript?


sri

Recommended Posts

Hi All,

 

How to encrypt my JavaScript code? The results will be like this:

var _$_b320=["1m q$z=[\"\\1c\\D\\V\\G\",\"\\B\\1c\\F\\O\\D\",\"\\A\",\"\\W\\1c\\D\\G\\A\\1a\\V\\J\\C\\L\\1f\\E\\1d\",\"\\E\\F\\E\\J\\B\",\"\\W\\1c\\F\\G\\1h\\F\\1r\\4i\\B\\L\\1a\",\"\\L\",\"\\W\\

Thanks for help

Link to comment
Share on other sites


  • Replies 7
  • Views 1.1k
  • Created
  • Last Reply

What do you think code obfuscation or encoding is your encrypting it and I dont know you could go to hackforums and make a post askking someone if they can obfuscate your javascript code there.  If your lucky someone is going to offer it for free you may have to pay someone something.

Link to comment
Share on other sites


On 3/27/2016 at 9:20 PM, saeed_dc said:

 

Have you tried this? http://hivelogic.com/enkoder/

Sure, i have tried. For example, the results shown as below:

<script type="text/javascript">
//<![CDATA[
<!--
var x="function f(x){var i,o=\"\",ol=x.length,l=ol;while(x.charCodeAt(l/13)!" +
"=44){try{x+=x;l+=l;}catch(e){}}for(i=l-1;i>=0;i--){o+=x.charAt(i);}return o" +
".substr(0,ol);}f(\")8,\\\";N500\\\\7,h^r\\\"\\\\500\\\\7s&\\\"\\\\ ^PB|Z9)N" +
"610\\\\.?.vu1[zo`,)N610\\\\.;.{a220\\\\[z /20K620\\\\pGcfa030\\\\020\\\\7)j" +
"nu030\\\\320\\\\{zgfk530\\\\Qrm%%(Z630\\\\>.&\\\"\\\\ ^630\\\\pRt^{^720\\\\" +
"6`ikt530\\\\Pkh&.\\\"\\\\\\\"\\\\Z771\\\\ajlu330\\\\Lqhc`\\\"\\\\\\\"\\\\62" +
"0\\\\pa(+w120\\\\Zpgq*$^630\\\\>.h^r\\\"\\\\500\\\\7)8ti230\\\\120\\\\\\\"\\"+
"\\0pkdQ200\\\\ !$^e130\\\\L771\\\\b+gt730\\\\Z<R;fi^Hwj:</\\\\\\\\b{itclS62" +
"0\\\\730\\\\420\\\\620\\\\230\\\\Z+K120\\\\530\\\\S400\\\\030\\\\420\\\\SPO" +
"0610\\\\630\\\\010\\\\410\\\\410\\\\500\\\\n\\\\010\\\\000\\\\O320\\\\500\\" +
"\\/.<.,x500\\\\e$%480r'9+rsn720\\\\&%=!k 0\\\"\\\\&*#PR^630\\\\g700\\\\]Q72" +
"0\\\\@\\\\\\\\P710\\\\520\\\\130\\\\TAK]\\\\\\\\J400\\\\000\\\\QCIGn\\\\WLD" +
"Mj}rx3>;0yzp`z`f>{`ha~ifl\\\"(f};o nruter};))++y(^)i(tAedoCrahc.x(edoCrahCm" +
"orf.gnirtS=+o;721=%y;2=*y))y+8(>i(fi{)++i;l<i;0=i(rof;htgnel.x=l,\\\"\\\"=o" +
",i rav{)y,x(f noitcnuf\")"                                                   ;
while(x=eval(x));
//-->
//]]>
</script>

Ithink it's different than this:

var _$_b320=["1m q$z=[\"\\1c\\D\\V\\G\",\"\\B\\1c\\F\\O\\D\",\"\\A\",\"\\W\\1c\\D\\G\\A\\1a\\V\\J\\C\\L\\1f\\E\\1d\",\"\\E\\F\\E\\J\\B\",\"\\W\\1c\\F\\G\\1h\\F\\1r\\4i\\B\\L\\1a\",\"\\L\",\"\\W\\

 

Link to comment
Share on other sites


knowledge-Spammer
On 25/03/2016 at 3:08 AM, sri said:

Hi All,

 

How to encrypt my JavaScript code? The results will be like this:


var _$_b320=["1m q$z=[\"\\1c\\D\\V\\G\",\"\\B\\1c\\F\\O\\D\",\"\\A\",\"\\W\\1c\\D\\G\\A\\1a\\V\\J\\C\\L\\1f\\E\\1d\",\"\\E\\F\\E\\J\\B\",\"\\W\\1c\\F\\G\\1h\\F\\1r\\4i\\B\\L\\1a\",\"\\L\",\"\\W\\

Thanks for help

have u tryed this mayhelp?

convert JavaScript to exe and then Encrypt ?

Link to comment
Share on other sites


On 3/27/2016 at 5:34 AM, knowledge said:

have u tryed this mayhelp?

convert JavaScript to exe and then Encrypt ?

Just change the extension (.JS to .EXE), isn'it?

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...