js字串加密,C#里边解密的方法,求救!!!
我要用到js 前台那里取一个http的网地址, 里边有&字符,要一起取过来。 所以要用到加密与解密;
file.cs
我现在只知道C#的解密好象是这个Server.UrlEncode()但JS前台如何写?取值vurl
if (lx == "yes")
{
ShopTitle(Server.UrlDecode(Request["vurl"])); //解密
}
file.aspx
oHttpReq.open("post", "T_Send.aspx?shopt=yes&vurl=" +document.getElementById("<%=T_url1.ClientID%>").value, false); //返回数据 如何加密码 T_url1
请告诉我吧