所在的位置: js >> js资源 >> NodeJS中调用JShaman,加密

NodeJS中调用JShaman,加密

北京治疗白癜风手术大概多少钱 http://m.39.net/pf/a_4975793.html

在Node.JS环境中,调用JShaman的WebAPI接口,对JS代码进行混淆加密。

效果如下:

代码:

//js代码varjs_code=`  functionNewObject(pfix)  {    varcount=0;    this.SayHello=function(msg)    {        count++;        alert(pfix+msg);    }    this.GetCount=function()    {        turncount;    }  }  varobj=newNewObject("Message:");  obj.SayHello("Youawel


转载请注明:http://www.aierlanlan.com/rzgz/6793.html