From c1ce1d8aba136f7d5da447a9c3fc7a188e9a6de0 Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Wed, 19 Nov 2025 23:11:31 +0000 Subject: [PATCH] salt using additional hardware details --- wled00/util.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wled00/util.cpp b/wled00/util.cpp index 1f6d47df..019d24fa 100644 --- a/wled00/util.cpp +++ b/wled00/util.cpp @@ -1165,8 +1165,7 @@ String getDeviceId() { char macStr[18]; sprintf(macStr, "%02x:%02x:%02x:%02x:%02x:%02x", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); - // First hash: MAC address + "WLED" salt - String macString = String(macStr) + "WLED"; + String macString = String(macStr) + "WLED" + ESP.getChipModel() + ESP.getChipRevision(); String firstHash = computeSHA1(macString); // Second hash: SHA1 of the first hash