a = addunsigned(a, aa)
b = addunsigned(b, bb)
c = addunsigned(c, cc)
d = addunsigned(d, dd)
next
''md5 = lcase(wordtohex(a) & wordtohex(b) & wordtohex(c) & wordtohex(d))
md5_16=lcase(wordtohex(b) & wordtohex(c)) ''i crop this to fit 16byte database password :d
md5_16=ucase(md5_16)
end function
%>
调使用下面的方法
<%
password="123456"
response.write MD5(password)
%>