BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Static Public Member Functions
BeeeOn::DAMM Class Reference

#include <DAMM.h>

Static Public Member Functions

static int compute (const std::string &s)
 

Detailed Description

Error detection algorithm DAMM.

See Also
https://en.wikipedia.org/wiki/Damm_algorithm
https://en.wikibooks.org/wiki/Algorithm_Implementation/Checksums/Damm_Algorithm

Member Function Documentation

int DAMM::compute ( const std::string &  s)
static
Returns
check digit for the given string of digits

The documentation for this class was generated from the following files: