bblanchon / ArduinoStreamUtils

💪 Power-ups for Arduino streams
MIT License
257 stars 21 forks source link

CRC and other hash algorithms #19

Open bblanchon opened 2 years ago

bblanchon commented 2 years ago

@supergohan, in #18, you requested a CRC feature in StreamUtils.

That's something I wanted to add for a long time, but I waited for an actual application to make sure the interface was designed correctly.

Can you share a (pseudo-)code sample that shows how you plan to use this feature? I'm assuming that you're using this hash to control the integrity of a message; make sure that you include this part in the sample.