#include <File.au3>
#include <String.au3>
#include <ACN_HASH.au3>
Dim $aRecords
If Not _FileReadToArray(@ScriptDir & "\test.txt", $aRecords) Then
MsgBox(4096,"Error", " Error reading log to Array error:" & @error)
Exit
EndIf
Local $str = ""
Local $hexstr
Local $i
For $i = 1 to $aRecords[0]
$aRecords[$i] = _StringReverse($aRecords[$i])
If StringLen($aRecords[$i])>0 Then
$hexstr = _Base64Decode($aRecords[$i]) ;;;解码出0x开头的十六进制字符串
$hexstr = StringMid($hexstr, 3) ;;;去掉开头的0x
$str &= _HexToString($hexstr) & @CRLF ;;;十六进制字符串转字符串
EndIf
Next
MsgBox(0, "", $str)
|