A secure and efficient encryption system based on adaptive and machine learning for securing data in fog computing

Abstract Fog computing, as a crucial component of the edge computing paradigm, offers significant advantages in terms of reduced latency and real-time processing. However, its distributed and heterogeneous nature presents distinct security challenges. This research introduces a novel adaptive encryp...

Full description

Saved in:
Bibliographic Details
Main Authors: Priyanka Rajan Kumar, Sonia Goel
Format: Article
Language:English
Published: Nature Portfolio 2025-04-01
Series:Scientific Reports
Subjects:
Online Access:https://doi.org/10.1038/s41598-025-92245-9
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850265168828694528
author Priyanka Rajan Kumar
Sonia Goel
author_facet Priyanka Rajan Kumar
Sonia Goel
author_sort Priyanka Rajan Kumar
collection DOAJ
description Abstract Fog computing, as a crucial component of the edge computing paradigm, offers significant advantages in terms of reduced latency and real-time processing. However, its distributed and heterogeneous nature presents distinct security challenges. This research introduces a novel adaptive encryption framework powered by machine learning to address these security concerns. The proposed system dynamically selects and adjusts encryption methods and key strengths based on data sensitivity and the communication context, ensuring a balance between security and performance. The system employs the K-Nearest Neighbors (KNN) classification algorithm to categorize data into sensitive and normal types. For sensitive data, a hybrid encryption approach combining Elliptic Curve Cryptography (ECC) and Advanced Encryption Standard (AES) is applied, ensuring secure key derivation and strong cryptographic protection. For normal data, the system uses standard AES encryption, achieving processing efficiency while maintaining adequate security levels. The effectiveness of the proposed system has been validated through a comprehensive set of experiments, including evaluations of Encryption Time, Decryption Time, Encryption Throughput, Decryption Throughput, and Histogram Analysis. Additionally, we assess security through the Number of Pixels Change Rate (NPCR = 99.349%) and Unified Average Changing Intensity (UACI = 33.079%). The scalability of the system has been thoroughly validated using datasets of varying sizes (1kB, 100kB, and 1000 kB) with variability achieved through the use of both text and image datasets. These evaluations demonstrate the system’s adaptability and performance consistency across diverse data transmission scenarios, making it suitable for large-scale fog environments. The results collectively demonstrate that the adaptive encryption methodology significantly enhances security while maintaining efficiency in data transmission and processing within fog computing environments.
format Article
id doaj-art-f0cefc4d11684dd3b8d64a26e4b25ce8
institution OA Journals
issn 2045-2322
language English
publishDate 2025-04-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-f0cefc4d11684dd3b8d64a26e4b25ce82025-08-20T01:54:30ZengNature PortfolioScientific Reports2045-23222025-04-0115111610.1038/s41598-025-92245-9A secure and efficient encryption system based on adaptive and machine learning for securing data in fog computingPriyanka Rajan Kumar0Sonia Goel1Department of Computer Science, Punjabi UniversityDepartment of Computer Science, Punjabi UniversityAbstract Fog computing, as a crucial component of the edge computing paradigm, offers significant advantages in terms of reduced latency and real-time processing. However, its distributed and heterogeneous nature presents distinct security challenges. This research introduces a novel adaptive encryption framework powered by machine learning to address these security concerns. The proposed system dynamically selects and adjusts encryption methods and key strengths based on data sensitivity and the communication context, ensuring a balance between security and performance. The system employs the K-Nearest Neighbors (KNN) classification algorithm to categorize data into sensitive and normal types. For sensitive data, a hybrid encryption approach combining Elliptic Curve Cryptography (ECC) and Advanced Encryption Standard (AES) is applied, ensuring secure key derivation and strong cryptographic protection. For normal data, the system uses standard AES encryption, achieving processing efficiency while maintaining adequate security levels. The effectiveness of the proposed system has been validated through a comprehensive set of experiments, including evaluations of Encryption Time, Decryption Time, Encryption Throughput, Decryption Throughput, and Histogram Analysis. Additionally, we assess security through the Number of Pixels Change Rate (NPCR = 99.349%) and Unified Average Changing Intensity (UACI = 33.079%). The scalability of the system has been thoroughly validated using datasets of varying sizes (1kB, 100kB, and 1000 kB) with variability achieved through the use of both text and image datasets. These evaluations demonstrate the system’s adaptability and performance consistency across diverse data transmission scenarios, making it suitable for large-scale fog environments. The results collectively demonstrate that the adaptive encryption methodology significantly enhances security while maintaining efficiency in data transmission and processing within fog computing environments.https://doi.org/10.1038/s41598-025-92245-9Fog computingECC algorithmAES algorithmAdaptive encryptionMachine learning
spellingShingle Priyanka Rajan Kumar
Sonia Goel
A secure and efficient encryption system based on adaptive and machine learning for securing data in fog computing
Scientific Reports
Fog computing
ECC algorithm
AES algorithm
Adaptive encryption
Machine learning
title A secure and efficient encryption system based on adaptive and machine learning for securing data in fog computing
title_full A secure and efficient encryption system based on adaptive and machine learning for securing data in fog computing
title_fullStr A secure and efficient encryption system based on adaptive and machine learning for securing data in fog computing
title_full_unstemmed A secure and efficient encryption system based on adaptive and machine learning for securing data in fog computing
title_short A secure and efficient encryption system based on adaptive and machine learning for securing data in fog computing
title_sort secure and efficient encryption system based on adaptive and machine learning for securing data in fog computing
topic Fog computing
ECC algorithm
AES algorithm
Adaptive encryption
Machine learning
url https://doi.org/10.1038/s41598-025-92245-9
work_keys_str_mv AT priyankarajankumar asecureandefficientencryptionsystembasedonadaptiveandmachinelearningforsecuringdatainfogcomputing
AT soniagoel asecureandefficientencryptionsystembasedonadaptiveandmachinelearningforsecuringdatainfogcomputing
AT priyankarajankumar secureandefficientencryptionsystembasedonadaptiveandmachinelearningforsecuringdatainfogcomputing
AT soniagoel secureandefficientencryptionsystembasedonadaptiveandmachinelearningforsecuringdatainfogcomputing