W3CHINA Blog首页    管理页面    写新日志    退出

The Neurotic Fishbowl

[asp/asp.net]加/解密函数(异或)
beyongtu 发表于 2005/1/9 15:30:29

<%
'****************************************
'程序设计:阿米  EMAIL:beyong2001@sina.com
'2004年11月3日
'****************************************
function tEncode(t1,t2)
if t1<>"" and t2<>"" then
 Encode=""
 for i=1 to len(t2)
  s1=Mid(t2,i,1)
  s1=asc(s1)
  j=i mod len(t1)
  if j=0 then
   j=len(t1)
  end if
  s2=mid(t1,j,1)
  s2=asc(s2)
&

阅读全文(1407) | 回复(0) | 编辑 | 精华 | 删除

 


[Javascript]苦苦摸索,总算完成中文的判断代码
beyongtu 发表于 2005/1/9 14:54:05



(下面还有497字)

阅读全文(1207) | 回复(0) | 编辑 | 精华 | 删除

 


« 1

 
 



The Neurotic Fishbowl

.: 公告

暂无公告...


Bloginess

«July 2026»
1234
567891011
12131415161718
19202122232425
262728293031

.: 我的分类(专题)

首页(2)
XML/XSL(0)
Javascript(1)
asp/asp.net(1)


In the Bowl

.: 最新日志

加/解密函数(异或)
苦苦摸索,总算完成中文的判断代码


.: 最新回复


The Fishkeeper
blog名称:
日志总数:2
评论数量:0
留言数量:0
访问次数:21746
建立时间:2005年1月9日



Text Me

.: 留言板

签写新留言


Other Fish in the Sea

.: 链接





站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.016 second(s), page refreshed 144839515 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号