{"id":21688464,"url":"https://github.com/pburggraf/crc","last_synced_at":"2025-07-29T11:34:16.050Z","repository":{"id":20532948,"uuid":"90182120","full_name":"pburggraf/CRC","owner":"pburggraf","description":"Cyclic redundancy checker class","archived":false,"fork":false,"pushed_at":"2025-07-03T18:50:07.000Z","size":251,"stargazers_count":18,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-03T19:44:36.100Z","etag":null,"topics":["checksum","crc","cyclic-redundancy-check","php","php7","validtion"],"latest_commit_sha":null,"homepage":"https://demo.pburggraf.de/crc","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pburggraf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-03T18:44:10.000Z","updated_at":"2025-07-03T18:50:11.000Z","dependencies_parsed_at":"2024-06-20T00:07:33.675Z","dependency_job_id":"625b9e01-e7b8-43dd-b187-61fb9b61e86e","html_url":"https://github.com/pburggraf/CRC","commit_stats":{"total_commits":47,"total_committers":3,"mean_commits":"15.666666666666666","dds":"0.12765957446808507","last_synced_commit":"c0bc8eca36add4720a4568e1f0d0ff6cf949c6b5"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/pburggraf/CRC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pburggraf%2FCRC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pburggraf%2FCRC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pburggraf%2FCRC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pburggraf%2FCRC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pburggraf","download_url":"https://codeload.github.com/pburggraf/CRC/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pburggraf%2FCRC/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267678448,"owners_count":24126333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["checksum","crc","cyclic-redundancy-check","php","php7","validtion"],"created_at":"2024-11-25T17:15:15.755Z","updated_at":"2025-07-29T11:34:16.028Z","avatar_url":"https://github.com/pburggraf.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CRC [![Build Status](https://travis-ci.org/pburggraf/CRC.svg?branch=master)](https://travis-ci.org/pburggraf/CRC) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/pburggraf/CRC/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/pburggraf/CRC/?branch=master)\nThis is an implementation of the [CRC RevEng Catalogue](http://reveng.sourceforge.net/crc-catalogue/) in PHP 7.x\n\n## How to use\n```PHP\n\u003c?php\n\n// Autoloading via Composer\nrequire __DIR__ . '/vendor/autoload.php';\n\n$crc8 = new \\PBurggraf\\CRC\\CRC8\\CRC8();\nvar_dump(dechex($crc8-\u003ecalculate('123456789'))); // string(2) \"f4\"\n\n$crc16AugCcitt = new \\PBurggraf\\CRC\\CRC16\\AugCcitt();\nvar_dump(dechex($crc16AugCcitt-\u003ecalculate('123456789'))); // string(4) \"e5cc\"\n\n$crc24 = new \\PBurggraf\\CRC\\CRC24\\CRC24();\nvar_dump(dechex($crc24-\u003ecalculate('123456789'))); // string(6) \"21cf02\"\n\n$crc32 = new \\PBurggraf\\CRC\\CRC32\\CRC32();\nvar_dump(dechex($crc32-\u003ecalculate('123456789'))); // string(8) \"cbf43926\"\n```\n\n## Test\nThis project uses phpunit to test the validation of crc calculations.\n\n## Currently implemented\n#### 8bit CRC\nAUTOSAR, BLUETOOTH, CDMA2000, DARC, DVB-S2, GSM-A, GSM-B, I-432-1 (ITU), I-CODE, LTE, MAXIM-DOW (MAXIM, DOW-CRC),\nMIFARE-MAD, NRSC-5, OPENSAFETY, ROHC, SAE-J1850, SMBUS (CRC-8), TECH-3250 (AES, EBU)\n\n#### 16bit CRC\nARC (CRC-16, LHA, CRC-IBM), CDMA2000, CMS, DDS-110, DECT-R (R-CRC-16), DECT-X (X-CRC-16), DNP, EN-13757,\nGENIBUS (DARC, EPC, EPC-C1G2, I-CODE), GSM, IBM-3740 (AUTOSAR, CCITT-FALSE),\nIBM-SDLC (ISO-HDLC, ISO-IEC-14443-3-B, X-25, CRC-B), ISO-IEC-14443-3-A (CRC-A),\nKERMIT (CCITT, CCITT-TRUE, V-41-LSB, KERMIT), LJ1200, MAXIM-DOW (MAXIM), MCRF4XX, MODBUS, NRSC-5, OPENSAFETY-A\nOPENSAFETY-B, PROFIBUS (IEC-61158-2), RIELLO, SPI-FUJITSU (AUG-CCITT), T10-DIF, TELEDISK, TMS37157,\nUMTS (BUYPASS, VERIFONE), USB, XMODEM (ACORN, LTE, V-41-MSB, ZMODEM)\n\n#### 24bit CRC\nBLE, FLEXRAY-A, FLEXRAY-B, INTERLAKEN, LTE-A, LTE-B, OPENPGP (CRC-24)\n\n#### 32bit CRC\nAIXM (CRC-32Q), AUTOSAR, BASE91-D (CRC-32D), BZIP2 (AAL5, DECT-B, B-CRC-32), CD-ROM-EDC, CKSUM (POSIX),\nISCSI (BASE91-C, CASTAGNOLI, INTERLAKEN, CRC-32C), ISO-HDLC (CRC-32, ADCCP, V-42, XZ, PKZIP), JAMCRC, MPEG-2, XFER","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpburggraf%2Fcrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpburggraf%2Fcrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpburggraf%2Fcrc/lists"}