Kumar Priyanka Rajan, Goel Sonia
Department of Computer Science, Punjabi University, Patiala, 147001, India.
Sci Rep. 2025 Apr 4;15(1):11654. doi: 10.1038/s41598-025-92245-9.
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.
雾计算作为边缘计算范式的关键组成部分,在降低延迟和实时处理方面具有显著优势。然而,其分布式和异构的特性带来了独特的安全挑战。本研究引入了一种由机器学习驱动的新型自适应加密框架,以解决这些安全问题。所提出的系统根据数据敏感性和通信上下文动态选择和调整加密方法及密钥强度,确保在安全性和性能之间取得平衡。该系统采用K近邻(KNN)分类算法将数据分类为敏感和正常类型。对于敏感数据,应用结合椭圆曲线密码学(ECC)和高级加密标准(AES)的混合加密方法,确保安全的密钥派生和强大的加密保护。对于正常数据,系统使用标准AES加密,在保持足够安全级别的同时实现处理效率。所提出系统的有效性已通过一系列全面的实验得到验证,包括对加密时间、解密时间、加密吞吐量、解密吞吐量和直方图分析的评估。此外,我们通过像素变化率(NPCR = 99.349%)和统一平均变化强度(UACI = 33.079%)评估安全性。使用不同大小(1kB、100kB和1000kB)的数据集,并通过使用文本和图像数据集实现可变性,对系统的可扩展性进行了全面验证。这些评估证明了系统在不同数据传输场景中的适应性和性能一致性,使其适用于大规模雾环境。结果共同表明,自适应加密方法在雾计算环境中显著增强了安全性,同时保持了数据传输和处理的效率。