Blockchain technology presents a decentralized and transparent solution for secure voting systems. This paper provides a comparative analysis of consensus protocols, such as Proof of Work (PoW), Proof of Stake (PoS), and Delegated Proof of Stake (DPoS), to evaluate their effectiveness in a secure voting environment. Results show that PoS offers optimal security with reduced energy consumption, making it suitable for public elections.