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

NodeJS中调用JShaman,加密

在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/rzdk/8068.html