GabrielMajeri / chksum8

Simple Rust library to calculate an 8-bit checksum.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

8-bit checksum calculator

This crate calculate the 8-bit checksum of a data structure, or of an array of bytes.

In other words, it adds up all the bytes, modulo 256.

This code is actually used in many places in OS development (such as ACPI, SMBIOS, EDID).

License

This code is licensed with the Unlicense, i.e. it is in the public domain.

See LICENSE.md for more information.

About

Simple Rust library to calculate an 8-bit checksum.

License:The Unlicense


Languages

Language:Rust 100.0%