Skip to content
#federated learning Open access

BlockSecML: A Privacy-Preserving Machine Learning Framework Using Homomorphic Encryption, Advanced Encryption Standard-256 (AES-256), and Blockchain

Oct 2026 · Cureus Journal of Computer Science · Vol 3 · 0 citations · 30 references
Cryptography and Data Security

TL;DR

BlockSecML is presented, a framework that brings together three technologies - Advanced Encryption Standard (AES)-256-Galois/Counter Mode encryption, Paillier partially homomorphic encryption (PHE), and Hyperledger Fabric blockchain - into a single working pipeline for privacy-preserving federated machine learning.

Abstract

With machine learning being used more and more in sensitive areas like healthcare and finance, protecting the privacy of training data has become a serious concern. Most existing approaches handle encryption, secure computation, and audit logging as separate steps, which creates gaps where data can be exposed. In this paper, we present BlockSecML, a framework that brings together three technologies - Advanced Encryption Standard (AES)-256-Galois/Counter Mode encryption, Paillier partially homomorphic encryption (PHE), and Hyperledger Fabric blockchain - into a single working pipeline for privacy-preserving federated machine learning. The core design is as follows: gradient computation occurs entirely in plaintext at each data owner node; the computed gradients are immediately encrypted under Paillier PHE before any transmission; and the aggregation server performs homomorphic addition on the encrypted gradients without decrypting any individual contribution. Two brief in-memory plaintext windows exist at the data owner node - during local gradient computation and during AES-to-Paillier re-encoding - both of which are confined to the data owner's own device and do not involve network transmission. Every significant pipeline event is logged as an immutable, hash-chained record on a Hyperledger Fabric ledger. Experiments were conducted on an Intel Core i5-10210U laptop with 20 GB RAM. BlockSecML achieves classification accuracy of 97.6 ± 0.21% on MNIST (Modified National Institute of Standards and Technology), 84.9 ± 0.58% on MIMIC-III (Medical Information Mart for Intensive Care), and 91.7 ± 0.27% on a synthetic financial fraud dataset, compared to plaintext baselines of 98.9%, 87.2%, and 93.4%, respectively. Training time overhead ranges from 116% to 179% relative to plaintext training, with PHE computation accounting for approximately 87% of this overhead. All figures represent upper-bound estimates due to the single-machine experimental setup. Blockchain logging adds under 100 ms per round. The code is available at https://github.com/deeptisharda29/BlockSecML.

Read PDF

Similar papers

Open access Sep 2026

Zero-trust IoT security using homomorphic encryption, blockchain, and machine learning

The growing deployment of internet of things (IoT) devices across healthcare, manufacturing, and smart infrastructure has introduced serious security vulnerabilities that can no longer be ignored. Traditional perimeter-based security models have proven inadequate for decentralized IoT environments, especially given tha...

K. Titi · 0 citations
Review Open access Oct 2026

The Use of Fully Homomorphic Encryption at Server-Side In Https: A Mini Review

With As the need for secure digital communication has been growing, the requirement to safeguard sensitive data during communication is becoming more important, as well as when the data is processed on the server-side. As with HTTPS, Transport Layer Security (TLS) encryption provides security for the data while it is b...

Mahesh S. Pokharkar, Surendra Yadav, A. Banubakode · 0 citations
Sep 2026

An Enhanced Hybrid Encryption-BlockChain Security Framework for IoMT Data Preservation

The findings demonstrate that the framework addresses IoMT security and privacy limitations by combining hybrid encryption with decentralized blockchain technology, providing a scalable, efficient, tamper-resistant, and trustworthy solution for next generation healthcare systems.

S. Yunisa · 0 citations
#federated learning Conference Sep 2026

Privacy-preserving blockchain systems based on homomorphic encryption: design and challenges

This paper investigates recent advances in the integration of HE with blockchain privacy protection, with particular emphasis on representative schemes employing fully homomorphic encryption (FHE) and partially homomorphic encryption (PHE) in scenarios including privacy-preserving smart contracts, federated learning, a...

Ling-Ling Ding, Bao-Ying Zhang, Yi-Fei Dai et al. · 0 citations

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.