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

NodeJS中调用JShaman,加密

中科公益抗白 http://nb.ifeng.com/a/20190514/7435821_0.shtml

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

  • 上一篇文章:
  •   
  • 下一篇文章: 没有了