feat(scum): rebuild plugin-owned management data

This commit is contained in:
npc0-hue
2026-08-15 12:43:09 +08:00
parent 92b1159cc8
commit 65353cf269
113 changed files with 3116 additions and 8058 deletions
+11
View File
@@ -0,0 +1,11 @@
package service
import (
"crypto/sha256"
"encoding/hex"
)
func fingerprintID(namespace, value string) string {
sum := sha256.Sum256([]byte(namespace + "\x00" + value))
return hex.EncodeToString(sum[:])[:24]
}