用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. VBS十年未解之谜
  2. 文件夹拒绝访问且文件夹显示为空的解决方法
  3. Python pdfplumber内存泄露问题解决方案
  4. VBS深入CreateObject函数
  5. VBS文件拖拽的个数限制(无法执行 – 参数列表过长)

留下回复