Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for crc32hex_php.bat

(view source code of crc32hex_php.bat as plain text)

  1. :: http://www.robvanderwoude.com/batchphp.php
  2. :: Usage:  "crc32 teststring" returns the CRC32 checksum for "teststring" in hexadecimal format
  3. @IF NOT "%~1"=="" PHP.EXE -r "print('0x'.strtoupper(dechex(crc32('%~1')&0xFFFFFFFF)));"
  4.  

page last uploaded: 2017-08-21, 14:26