ELECTORAL AUDIT ENGINE v2.0
Every student record is transformed into a unique hash key. The system bypasses traditional logins, using a secure whitelist mechanism that cross-references the student database to ensure only eligible voters can access the digital ballot box.
To prevent "Sybil Attacks" and double-voting, I implemented a State-Persistent Session Lock. Once the SQL transaction for a vote is committed, the has_voted flag is toggled, instantly revoking all ballot access tokens for that identity.
The administrative interface utilizes Asynchronous PHP (AJAX) to stream live vote counts. This eliminates the "Black Box" of counting rooms, providing instant transparency while the election is still in progress.
While the vote content remains anonymous, the Audit Trail records the precise millisecond of every interaction. This metadata allows for forensic reconstruction of the election timeline in the event of a dispute.