for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace PBurggraf\CRC\CRC32;
/**
* @author Philip Burggraf <[email protected]>
*
* @see \PBurggraf\CRC\CRC32\ADCCP
* @see \PBurggraf\CRC\CRC32\CRC32
* @see \PBurggraf\CRC\CRC32\PKZip
* @see \PBurggraf\CRC\CRC32\V42
* @see \PBurggraf\CRC\CRC32\XZ
*/
class ISOHDLC extends AbstractCRC32
{
public function __construct()
$this->poly = 0x04c11db7;
$this->init = 0xffffffff;
$this->reverseIn = true;
$this->reverseOut = true;
$this->xorOut = 0xffffffff;
$this->lookupTable = $this->generateTable($this->poly);
}