请问windows2008R2 64位系统上怎么使用capicom.dll组件? Function Get32BitMD5(strInput)
For i = 1 to Len(strInput)
tmp = Mid(strInput, i, 1)
restr = restr & chrB(ascB(tmp))
Next
strInput = restr
Set hash = CreateObject("CAPICOM.HashedData")
hash.Algorithm = 3
hash.hash strInput
strMD5 = LCase(hash.value)
Get32BitMD5 = strMD5
End Function