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

NodeJS中调用JShaman,加密

让白癜风患者感受中科魅力 http://hunan.ifeng.com/a/20170626/5773085_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/cyrz/8371.html

  • 上一篇文章:
  •   
  • 下一篇文章: