uint32_t unlock(uint32_t stored_hash) // Reverse the XOR‑mask applied during password creation uint32_t mask = 0xA5A5A5A5; return stored_hash ^ mask;