用VBS实现PHP的SHA1函数

标签: , , ,

有了这个,VBS版的六维空间作弊工具就可以完成了。

依然是CAPICOM。

Function sha1(str, raw_output)
	Dim HashedData, Utility
	Set HashedData = CreateObject("CAPICOM.HashedData")
	Set Utility = CreateObject("CAPICOM.Utilities")
	HashedData.Algorithm = 0
	HashedData.Hash str	
	If raw_output Then
		sha1 = Utility.HexToBinary(HashedData.Value)
	Else
		sha1 = HashedData.Value
	End If
End Function
赞赏

微信赞赏支付宝赞赏

随机文章:

  1. 自甘堕落
  2. Python Proxy,快速、轻量级的HTTP代理服务器
  3. VBS脚本中Sleep方法的最大延迟时间
  4. Msxml2.XMLHTTP Msxml2.ServerXMLHTTP与缓存
  5. WinDbg 6.12.2.633下载地址

留下回复