如何对参数加密呢

怎么对参数加密呢?如果是html:linkpage /serchCDlog.do?wsid${l.WMID} 价格/html:link这种形式怎

怎么对参数加密呢?
如果是   <html:link   page= "/serchCDlog.do?wsid=${l.WMID} "> 价格&nbsp; </html:link>     这种形式怎么对参数加密呢?

[解决办法]
解密
function decrypt(dcode)
dim texts
dim i
for i=1 to len(dcode)
texts=texts & chr(asc(mid(dcode,i,2))-i)
next
decrypt=texts
end function
'加密
function encrypt(ecode)
Dim texts
dim i
for i=1 to len(ecode)
texts=texts & chr(asc(mid(ecode,i,2))+i)
next
encrypt = texts
end function