-
-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hash & salt MACs before store them in RAM #2
Comments
Solution idea: First, the captured MAC address (previously possibly vendor-filtered) is truncated, then a SALT value is appended, a hash function is applied to it, and the result is truncated to make it look like a regular MAC address. The result is an identifier. Temporarily in RAM only the identifiers are kept. These alone form the counting basis. The SALT value is regenerated at device reset or at certain (minimum) intervals. Thus, the identifiers after device reset or expiration of the interval are different from those previously detected. A recognition of devices / persons is thus without further fingerprinting (which is not part of the code) not possible, even if the identifier data was stored somewhere for a long period of time. The SALT value must be a random number that is not persistent and is stored only in volatile RAM. Using a separately running RTos task "scrambling_task", which is working continously on the MACs set: forever do {
This way the MAC set contains only identifiers, which are counted. |
This might be of help... forum.arduino.cc/index.php?topic=394998.0 |
implemented (v1.2.6). |
The text was updated successfully, but these errors were encountered: