Jump to content

Mugicoco

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Mugicoco

  1. Thank you so so much!!! The program is long, but I'll use it depending on the situation. I also downloaded @Ward's program from the comment linked below. Thanks so much for the very useful content and forum!
  2. I got the same value as the online calculator when I used other textbooks, so it's still a mystery, but I appreciate your help. Also, as you said, I'm only looking for Alder-32, so the program you provided is very helpful. This is my first time posting on this forum, and I appreciate your kind advice and your friendliness. Thank you.
  3. Thank you both very much. The results are now displayed correctly. I am very grateful. However, when I used "https://md5calc.com/hash/adler32" to check the calculation, the result was different. Do you know what the cause of this is? Autoit result: 0x76000974 Site result: 0x76180975
  4. Thank you for your quick reply. I tried it right away, but an error was displayed on the zlib_udf.au3 side. >Subscript used on non-accessible variable.: Return $call[0] The program I tried is as follows. Also, the Zlib_udf used is the attached file. #include <zlib_udf.au3> Local $sData = 'hahahahahahahahahahahehe' Local $bData = StringToBinary($sData) Local $tBuffer = DllStructCreate('byte Data[' & BinaryLen($bData) & ']') $tBuffer.Data = $bData $result = _Zlib_CalculateAdler32(DllStructGetPtr($tBuffer), DllStructGetSize($tBuffer)) ConsoleWrite($result) _Zlib_Shutdown() zlib_udf.zip
  5. I am looking into how to calculate Adler32 using zlib_udf.au3. I know I need to use _Zlib_CalculateAdler32, but what arguments should I specify? _Zlib_CalculateAdler32($DataPtr, $DataSize) For example, I would be grateful if you could provide a detailed program for calculating the Alder32 of the string "hahahahahahahahahahahehe". What would $DataPtr and DataSize look like in the above example? Thank you
×
×
  • Create New...