Skip to content

Conversation

henrygab
Copy link
Collaborator

@henrygab henrygab commented Dec 15, 2021

fixes #230 ... at least in part ... by ensuring that a hash of the name for the palette and pattern match the value stored in EEPROM.

Used MurMurHash3 for speed and applicability to hashing strings in non-security context.

Uses MurMurHash3, a non-cryptographic hash that appears
to decently hash short text
@henrygab
Copy link
Collaborator Author

@jasoncoon -- Just wanted to see if there's interest in either of the two parts of this:

  1. using hash to validate name + index match
  2. default patterns being listed by name (rather than index)

I've not yet figured a way to reliably debug on ESP8266, which is the only known issue holding this up. Testing is non-trivial.

@jasoncoon
Copy link
Owner

I wasn't overly concerned about either of these problems, but I have no problem with fixing them or this solution. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for stable effects / palettes configuration

2 participants