Two-Layer Hashing Design Counts Anonymous Posts Without Tracking Devices
A developer has detailed a privacy-focused system designed to tally anonymous posts without identifying the devices that submitted them. The mechanism assigns each device a pseudonym using two rounds of hashing: the device applies SHA-256 to its locally stored UUID combined with a subject ID, while the server applies HMAC-SHA256 using a secret key it holds exclusively. This two-layer approach means the raw device identifier never leaves the device, and the server cannot reconstruct it even from the pseudonym it stores. The system uses pseudonyms solely to count distinct devices and determine whether a post threshold has been met for publication. The developer also documented an early bug where the threshold counted total posts instead of unique devices, along with the known limitations of the design.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in