close
Skip to main content
Log in

AI based enhanced twofish encryption: empowering a secure voting mechanism with SnS and extended cyclic groups

  • Published:
Cluster Computing Aims and scope Submit manuscript

This article has been updated

Abstract

The traditional voting system is a time consuming process and in some cases it will lead to human errors. To avoid this issues, an emerged technology has used in the election process. During the e-voting process, the confidential data of the voters are processed in the internet. However, there are lot of possibilities to steal the user’s data due to less security. To overcome these issues the proposed method used AI based enhanced Twofish encryption with SnS and GCE for secure e-voting. The XGBoost (extreme Gradient Boosting) algorithm is employed to detect the intrusion when the voters access the publicly available link to cast their votes. Based on Scapy, the data are generated from Ethernet, IP, TCP and UDP. Scapy is employs to capture the packets, copy or decode packets, match requests and replies and send packets on the wire. The network discovery, scanning, attacks, trace routing, unit tests and probing are the tasks handled by Scapy. Then generated data undergoes a pre-processing process to remove missing values and convert them into null values. The proposed research uses K-means algorithm for label creation for each data. Once the registration is completed the key scheduling is used to encrypt and verify the user’s data in block chain based environment using enhanced Twofish with SnS (Split n Swap) and GCE (Cyclic Group Extended). The SnS and GCE are used to swap the data order to confuse the attackers and improve the security. After the decryption the voter identification gets verified and they can cast their votes. The proposed model verifies that data in the voter_id have any error or malfunction then the vote will not be submitted. With the help of block chain the data of the voters remains safe and secure. The performance of the proposed model is evaluated by the metrics and attain best performance than existing studies.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+
from $39.99 /Month
  • Starting from 10 chapters or articles per month
  • Access and download chapters and articles from more than 300k books and 2,500 journals
  • Cancel anytime
View plans

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16

Similar content being viewed by others

Data availability

No datasets were generated or analysed during the current study.

Change history

  • 17 December 2025

    The original online version of this article was revised: The affiliation 'Department of Applied Engineering and Technical Management, University of Northern Lowa, Lowa, United States of America' has been corrected to 'Department of Applied Engineering and Technical Management, University of Northern Iowa, Iowa, United States of America'. The affiliation of the author Qindong Sun has been corrected to 'Department of Computer Science and Engineering, Xi'an University of Technology, Shaanxi, China'.

References

  1. Preiya, V.S., Kumar, V., Vijay, R., Kirubakaran, N.: Blockchain-Based E-Voting system with face recognition. Fusion: Practice and Applications (2023). https://doi.org/10.54216/FPA.120104

    Article  Google Scholar 

  2. Ganotra, T., Garg, S.: Voting system using blockchain technology. Int. J. Res. Appl. Sci. Eng. Technol. 11(1), 1081–1088 (2023). https://doi.org/10.22214/ijraset.2023.48676

    Article  Google Scholar 

  3. Andafu, E.: Determinants of Voter Disenfranchisement in Kenya, Journal of the Kenya National Commission for UNESCO, vol. 5, no. 1, (2024). https://doi.org/10.62049/jkncu.v5i1.195

  4. Chaudhary, S., et al.: Blockchain-based secure voting mechanism underlying 5G network: A smart contract approach. IEEE Access. 11, 76537–76550 (2023). https://doi.org/10.1109/ACCESS.2023.3297492

    Article  Google Scholar 

  5. Jafar, U., Aziz, M.J.A., Shukur, Z.: Blockchain for electronic voting system—review and open research challenges. Sensors 21(17), 5874 (2021). https://doi.org/10.3390/s21175874

    Article  Google Scholar 

  6. Ramakrishna, D., Shaik, M.A.: A comprehensive analysis of cryptographic algorithms: Evaluating Security, Efficiency, and future challenges. IEEE Access. (2024). https://doi.org/10.1109/ACCESS.2024.3518533

    Article  Google Scholar 

  7. Yadav, A.S., Urade, Y., Thombare, A., Patil, A.A.: E-voting using blockchain technology. Int. J. Eng. Res. Technol. (2020). https://doi.org/10.17577/IJERTV9IS070183

    Article  Google Scholar 

  8. Jafar, U., Ab Aziz, M.J., Shukur, Z., Hussain, H.A.: A systematic literature review and meta-analysis on scalable blockchain-based electronic voting systems. Sensors 22(19), 7585 (2022). https://doi.org/10.3390/s22197585

    Article  Google Scholar 

  9. Okposhi, I.M., Aimufua, G.I., Abdullahi, M.U.: Development of blockchain technology-based electronic voting system. Int. J. Comput. Syst. Eng. 6(6), 274–280 (2021). https://doi.org/10.1504/IJCSYSE.2021.123559

    Article  Google Scholar 

  10. Laila, N.J., Sathya, M., Mariappan, S.M.: Blockchain Based Electron. Voting Syst. (2023). https://doi.org/10.32628/IJSRSET52310218

    Article  Google Scholar 

  11. Mark, L., Ponnusamy, V., Wicaksana, A., Christyono, B.B., Widjaja, M.: A secured online voting system by using blockchain as the medium. Smart Cyber Ecosyst. Sustainable Dev. 405–430 (2021). https://doi.org/10.1002/9781119761655.ch21

  12. Nagajothi, S., Shamrutha, S., Sreeja, D., Tejeswini, S.: A Transparent Immutable and More Secured Voting System Using Blockchain, in Journal of Physics: Conference Series, vol. 1964, no. 4: IOP Publishing, p. 042099, (2021). https://doi.org/10.1088/1742-6596/1964/4/042099

  13. Hajian Berenjestanaki, M., Barzegar, H.R., Ioini, N.E., Pahl, C.: Blockchain-based e-voting systems: a technology review. Electronics 13(1), 17 (2023). https://doi.org/10.3390/electronics13010017

    Article  Google Scholar 

  14. Li, C., Xiao, J., Dai, X., Jin, H.: AMVchain: Authority management mechanism on blockchain-based voting systems. Peer-to-peer Netw. Appl. 14, 2801–2812 (2021). https://doi.org/10.1007/s12083-021-01100-x

    Article  Google Scholar 

  15. Su, P.-C., Su, T.-C.: Secure blockchain-based electronic voting mechanism. Int. Arab. J. Inf. Technol 20(2), 253–261 (2023). https://doi.org/10.34028/iajit/20/2/12

    Article  Google Scholar 

  16. McCorry, P., Mehrnezhad, M., Toreini, E., Shahandashti, S.F., Hao, F.: On secure e-voting over blockchain. Digit. Threats: Res. Pract. (DTRAP) 2(4), 1–13 (2021). https://doi.org/10.1145/3461461

    Article  Google Scholar 

  17. Chakraborty, S., Abhay, A., Srivastav, V., Singh, A.: Decentralised E-Voting System Implementation Based on Blockchain Technology, https://doi.org/10.37896/jxu17.4/027

  18. Aboelazm, K.S.: The success of the E-voting to Enhance the Political Engagement: A Comparative Study. Journal of Law and Sustainable Development 11(11), e1732–e1732 (2023). https://doi.org/10.55908/sdgs.v11i11.1732

    Article  Google Scholar 

  19. Cheema, M.A., Ashraf, N., Aftab, A., Qureshi, H.K., Kazim, M., Azar, A.T.: Machine learning with blockchain for secure e-voting system, in 2020 first international conference of smart systems and emerging technologies (SMARTTECH), : IEEE, pp. 177–182, (2020). https://doi.org/10.1109/SMART-TECH49988.2020.00050

  20. Vinsura, B., Bandara, R., Gunasekara, A., Hettige, B., Uwanthika, G.: UxVote–Blockchain-Based E-Voting System for Secure Electronic Voting, (2022)

  21. Aniche, C., Yinka-Banjo, C., Ohalete, P., Misra, S.: Biometric E-voting system for cybersecurity. In: Artificial Intelligence for Cyber Security: Methods, Issues and Possible Horizons or Opportunities, pp. 105–137. Springer (2021) https://link.springer.com/chapter/10.1007/978-3-030-72236-4_5

  22. Alshehri, A., Baza, M., Srivastava, G., Rajeh, W., Alrowaily, M., Almusali, M.J.A.S.: Privacy-preserving e-voting system supporting score voting using blockchain. Applied Sciences 13(2), 1096 (2023). https://doi.org/10.3390/app13021096

    Article  Google Scholar 

  23. Gayathri, G., Vimala Devi, A., Priya, B., Kalaiarasi, C.: Support vector machine based multi block chain E voting system. J. Sci. Comput. Eng. Res. 6(4), 117–123 (2023). https://doi.org/10.46379/jscer.2023.0604022

    Article  Google Scholar 

  24. Cosmin-Iulian, I., Iftene, A., Gîfu, D.: A Large-Scale E‐voting System Based on Blockchain, (2021)

  25. Probor, M.N., Ahmed, M., Kabir, S.B., Fuad, M.M., Bushra, T.: Blockchain Based e-voting System with Homomorphic Encryption and Threshold Signature. Brac University (2023)

  26. Chakim, M.H.R., Yuda, M.A.D., Fahrudin, R.: J. o. R. I. Apriliasari, secure and transparent elections: Exploring decentralized electronic voting on P2P blockchain. ADI J. Recent. Innov. 5(1Sp), 54–67 (2023). https://doi.org/10.34306/ajri.v5i1Sp.959

    Article  Google Scholar 

  27. Singh, A., Ganesh, A., Patil, R.R., Kumar, S., Rani, R., J., S.K.: A. S. I. Pippal, secure voting website using Ethereum and smart contracts. Appl. Syst. Innov. 6(4), 70 (2023). https://doi.org/10.3390/asi6040070

    Article  Google Scholar 

  28. Khan, K.M., Arshad, J., Khan, M.M.J.C.: Empirical analysis of transaction malleability within blockchain-based e-Voting. Computers Secur. 100, 102081 (2021). https://doi.org/10.1016/j.cose.2020.102081

    Article  Google Scholar 

  29. Singh, J., Rastogi, U., Goel, Y.: and B. J. a. p. a. Gupta, Blockchain-based decentralized voting system security perspective: Safe and secure for digital voting system, 2023, https://doi.org/10.47750/pnr.2022.13.S07.736

  30. Elnour, S., Buchanan, W.J., Keating, P., Abubakar, M.: a. p. a. Elnour, vSPACE: Voting in a scalable. Privacy-Aware Confid. Election. (2024). https://doi.org/10.1007/978-981-96-0401-2_4

    Article  Google Scholar 

  31. Singh, H., Sinha, A.J.M.T., Applications: A blockchain framework for E-voting. Multimedia Tools Appl. 83(20), 58875–58889 (2024). https://doi.org/10.1007/s11042-023-17837-x

    Article  Google Scholar 

  32. Amith, K., Sanjay, H., Mahadevan, A., Harshita, K., Eshwar, D., Shastry, K.A.: Performance driven hyperledger Fabric-based blockchain framework for mass e-voting in India. Int. J. Inform. Comput. Secur. 21, 1–2 (2023). https://doi.org/10.1504/IJICS.2023.131094

    Article  Google Scholar 

  33. Mookherji, S., Vanga, O., Prasath, R.: Blockchain-based e-voting protocols. In: Blockchain Technology for Emerging Applications, pp. 239–266. Elsevier (2022). https://doi.org/10.1016/B978-0-323-90193-2.00006-5

  34. Bonthu, S.R., Chakraverty, S., siva subrahmanya Varma, N., Ramani, S., Karuppiah, M.: Blockchain for electronic voting system. In: Data Analytics, Computational Statistics, and Operations Research for Engineers, pp. 61–88. CRC (2022). https://www.taylorfrancis.com/chapters/edit/10.1201/9781003152392-3/blockchain-electronic-voting-system-subba-reddy-bonthu-suchismitaa-chakraverty-nadimpalli-siva-subrahmanya-varma-ramani-marimuthu-karuppiah

  35. Pooja, S., Raju, L.K., Chhapekar, U.J.E.S.: Face detection using deep learning to ensure a coercion resistant blockchain-based electronic voting. Eng. Sci. 16, 341–353 (2021). https://doi.org/10.30919/es8d585

    Article  Google Scholar 

  36. Xu, D., Shi, W., Zhai, W., Tian, Z.: Multi-candidate voting model based on blockchain. IEEE/CAA J. Automatica Sinica. 8(12), 1891–1900 (2021). https://doi.org/10.1109/JAS.2021.1004207

    Article  Google Scholar 

  37. Jain, A.K., Kalra, S., Kapoor, K., Jangra, V.: Blockchain-Based secure E-voting system using Aadhaar authentication. In: Predictive Data Security Using AI: Insights and Issues of Blockchain, IoT, and DevOps, pp. 89–103. Springer (2022). https://link.springer.com/chapter/10.1007/978-981-19-6290-5_5

  38. Malhotra, M., Kumar, A., Kumar, S., Yadav, V.: Untangling e-voting platform for secure and enhanced voting using blockchain technology. In: Transforming Management with AI, Big-Data, and IoT, pp. 51–72. Springer (2022). https://link.springer.com/chapter/10.1007/978-3-030-86749-2_3

  39. Pawar, M., Dabriwal, M., Rathi, R., Sinha, S.K., Pande, S.S.: Blockchain-Based decentralized electronic voting system. In: Intelligent Sustainable Systems: Selected Papers of WorldS4 2021, vol. 1, pp. 325–333. Springer (2022). https://doi.org/10.1007/978-981-16-6309-3_32

  40. Olaniyi, O.M., Dogo, E., Nuhu, B., Treiblmaier, H., Abdulsalam, Y., Folawiyo, Z.: A secure electronic voting system using multifactor authentication and blockchain technologies. In: Blockchain Applications in the Smart Era, pp. 41–63. Springer (2022). https://link.springer.com/chapter/10.1007/978-3-030-89546-4_3

  41. Tanwar, S., Gupta, N., Kumar, P., Hu, Y.-C.: Implementation of blockchain-based e-voting system. Multimedia Tools and Applications 83(1), 1449–1480 (2024). https://doi.org/10.1007/s11042-023-15401-1

    Article  Google Scholar 

  42. Tedyyana, A., Ghazali, O., Asnafi, T., Purbo, O.W., Harun, N.Z., Riza, F.J.T.: Transforming the voting process integrating blockchain into e-voting for enhanced transparency and securiy, TELKOMNIKA, vol. 22, no. 2, pp. 311–320, (2024). https://doi.org/10.12928/telkomnika.v22i2.25758

  43. Abd Hamid, N., Appunair, C.D.N., Abidin, A.F.A., Mohamed, M.A., Kadir, M.F.A., Satar, S.D.M.: A SECURE ONLINE VOTING SYSTEM USING FACE RECOGNITION TECHNOLOGY. Malaysian J. Comput. Appl. Math 6(1), 1–9 (2023). https://doi.org/10.37231/myjcam.2023.6.1.80

    Article  Google Scholar 

  44. a., A.J.A., Benny, S.: Blockchain based E-voting System, Available at SSRN 3648870, (2020). https://doi.org/10.2139/ssrn.3648870

  45. Rai, B.K., Sahu, M.K., Akulwar, V.: V2E: Blockchain based E-voting system. In: Artificial Intelligence, Blockchain, Computing and Security, vol. 1, pp. 781–785. CRC (2024). https://www.taylorfrancis.com/chapters/edit/10.1201/9781003393580-115/v2e-blockchain-based-voting-system-bipin-kumar-rai-mukul-kumar-sahu-viraaj-akulwar

  46. Majumder, S., Ray, S., Sadhukhan, D., Dasgupta, M., Das, A.K., J. I., Y.: O. J. o. t. C. S. Park, ECC-EXONUM-eVOTING: A novel signature-based e-voting scheme using blockchain and zero knowledge property. IEEE Open. J. Commun. Soc. (2023). https://doi.org/10.1109/OJCOMS.2023.3348468

    Article  Google Scholar 

  47. Salman, S.A.-B., Al-Janabi, S., J. I. J. o., A.M., Sagheer, I.M.T.: Valid Blockchain-Based E-Voting using elliptic curve and homomorphic encryption. Int. J. Interact. Mob. Technol. 16(20) (2022). https://doi.org/10.3991/ijim.v16i20.32951

  48. Pradip, H.K., Hande*1, P., Korgaonkar*3, Aditya Amange*4, P.S.K.: ONLINE VOTING SYSTEM WITH TWO STEP AUTHENTICATION. Int. Res. J. Modernization Eng. Technol. Sci. vol. 05/Issue:04, April-2023

  49. Amrulloh, F.N., Asriningtias, Y.: Implementation of AES-256 algorithm in Android-Based E-Voting data security. Jurnal Penelitian Pendidikan IPA (2023). https://doi.org/10.29303/jppipa.v9i9.4543

    Article  Google Scholar 

  50. Denis González, C., Frias Mena, D., Massó Muñoz, A., Rojas, O., Sosa-Gómez, G.J.A.S.: electronic voting system using an enterprise blockchain. Applied Sciences 12(2), 531 (2022). https://doi.org/10.3390/app12020531

    Article  Google Scholar 

  51. Priya, S., Srivastava, G., J. I. J., S., Kumar, R.A.R.: Secured electronic voting transactions integrated with blockchain. Int. J. Res. Anal. Rev. 8(2), 408–414 (2021). https://doi.org/10.13140/RG.2.2.16421.99040

    Article  Google Scholar 

  52. E. ESTAJI, Individual Verifiability for E-Voting, From Formal Verification To Machine Learning, (2023)

  53. Dhaher, F.A.: and K. H. J. J. o. E. f. P. S.-U. o. T.-Q. Kuban, A Secure and Authenticating E-Voting System Using Multiple Biometrics, Journal of Education for Pure Science-University of Thi-Qar, vol. 10, no. 1, pp. 253–261, (2020). https://doi.org/10.32792/jeps.v10i1.51

  54. Ye, K., Zheng, D., Guo, R., He, J., Chen, Y., I. J., X.J., Tao, N.S.: A Coercion-Resistant E-Voting system based on blockchain technology. Int. J. Netw. Secur. 23, 791–806 (2021). https://doi.org/10.6633/IJNS.202109

    Article  Google Scholar 

  55. Rizwan, S.: Decentralized voting system based on regions using facial recognition. J. Indep. Stud. Res. Comput. 20(1) (2022). https://doi.org/10.31645/JISRC.22.20.1.8

  56. Agrawal, S., Haque, M.J.: Security aspects in E-voting system using cloud computing. In: Artificial Intelligence, Blockchain, Computing and Security, vol. 1, pp. 945–950. CRC (2024). https://www.taylorfrancis.com/chapters/edit/10.1201/9781003393580-141/security-aspects-voting-system-using-cloud-computing-shreyas-agrawal-mohammad-junedul-haque

  57. Varalakshmi, M.V., Malarvizhi, S., Shamitha, A., Srimathi, S., I. J., V.J., Vinisha, S.R.E.D.: Blockvote: Aadhar based electronic voting system using blockchain. Int. J. Sci. Res. Eng. Dev. 3(3), 421–427 (2020)

    Google Scholar 

  58. Vardhan, G.H., Shah, S., Gupta, V., BC, R., Bisht, T.: Voting system using blockchain (Face Recognition). Int. Res. J. Eng. Technol. (IRJET), (2021). https://www.academia.edu/67012782/IRJET_Voting_System_Using_Blockchain_Face_Recognition

  59. Jayakumari, B., et al.: E-voting system using cloud-based hybrid blockchain technology. J. Saf. ScienceResilience. 5(1), 102–109 (2024). https://doi.org/10.1007/978-981-19-6290-5_5

    Article  Google Scholar 

  60. Taş, R.: Ö. Ö. J. S. Tanrıöver, and c. networks, A Manipulation Prevention Model for Blockchain-Based E‐Voting Systems, Security communication networks, vol. no. 1, p. 6673691, 2021, (2021). https://doi.org/10.1155/2021/6673691

  61. Daramola, O., Thebus, D.: Architecture-centric evaluation of blockchain-based smart contract e-voting for National elections. Informatics 7(2), 16 (2020). https://doi.org/10.3390/informatics7020016

    Article  Google Scholar 

  62. J. I. J. o., D.-K., Choi, P.E.: Data-driven materials modeling with XGBoost algorithm and statistical inference analysis for prediction of fatigue strength of steels. Int. J. Precis. Eng. Manuf. 20, 129–138 (2019). https://doi.org/10.1007/s12541-019-00048-6

    Article  Google Scholar 

  63. Kocabas, O., Soyata, T., J. I., M.K.: A. t. o. c. b. Aktas, emerging security mechanisms for medical cyber physical systems. IEEE/ACM Trans. Comput. Biology Bioinf. Vol. 13(3), 401–416 (2016). https://doi.org/10.1109/TCBB.2016.2520933

    Article  Google Scholar 

  64. Lakshmi Sravanthi Yerra, N.M., Kumar Raju Alluri, A novel approach to RSA, Cryptosystem using hybrid cryptography algorithm (HCA:) and enhanced-HCA (EHCA). Int. J. Soft Comput. Artif. Intell., 7, 1, (2019)

Download references

Acknowledgements

None.

Funding

This research received no external funding.

Author information

Authors and Affiliations

Authors

Contributions

The author contributed to the study conception and design. Material preparation, data collection and analysis were performed by Abdul Nasir Muniru. The first draft of the manuscript was written by Abdul Nasir Muniru and commented on previous versions of the manuscript. Author read and approved the final manuscript.

Corresponding author

Correspondence to Abdul Nasir Muniru.

Ethics declarations

Competing interests

The authors declare no competing interests.

Ethical statement

For human participant: Not applicable for this research.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Muniru, A.N., Sun, Q. AI based enhanced twofish encryption: empowering a secure voting mechanism with SnS and extended cyclic groups. Cluster Comput 29, 59 (2026). https://doi.org/10.1007/s10586-025-05769-0

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Version of record:

  • DOI: https://doi.org/10.1007/s10586-025-05769-0

Keywords

Profiles

  1. Abdul Nasir Muniru