fichiers mec la

This commit is contained in:
2025-09-28 15:51:37 +02:00
parent 46909da77c
commit 3bb12cb4aa
64 changed files with 3506 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
import crc8
hash = crc8.crc8()
media_ref = 67775490487
ref_bytes = media_ref.to_bytes(5, byteorder="big")
print(ref_bytes)
# b'\x0f\xc7\xbb\xe9\xb7'
hash.update(ref_bytes)
check_bits = hash.digest()
print(check_bits)
# b'\x0c'