Created
February 24, 2023 20:27
-
-
Save nshbrown/39ab72966b55497cb95292032ab36921 to your computer and use it in GitHub Desktop.
Ability to CRC8 bytes of a "Foobar" string - 202302241227
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# (c) 2023 Nathaniel (000000@purefame.com) | |
python3.8 -m pip install crccheck | |
python3.8 -c 'from crccheck.crc import Crc8; print("0x" + Crc8.calchex( b"Foobar" ) ) ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment