PHP code example of littler / crc-hex

1. Go to this page and download the library: Download littler/crc-hex library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

littler / crc-hex example snippets



use littler\CrcHex\CRC16;

= $crc->calc("10010000FF00");
echo $crcResult;
// BB7E