An innovative strategy to enhance the security of symmetric substitution ciphers is presented, through the implementation of a randomized key matrix suitable for various file formats, including but not limited to binary and text files. Despite their historical relevance, symmetric substitution ciphers have been limited by vulnerabilities to cryptanalytic methods like frequency analysis and known plaintext attacks. The aim of our research is to mitigate these vulnerabilities by employing a polyalphabetic substitution strategy that incorporates a distinct randomized key matrix. This matrix plays a pivotal role in generating a unique random key, comprising characters, encompassing both uppercase and lowercase letters, numeric, and special characters, to derive the corresponding ciphertext. The effectiveness of the proposed methodology in enhancing the security of conventional substitution methods for file encryption and decryption is supported by comprehensive testing and analysis, which encompass computational speed, frequency analysis, keyspace examination, Kasiski test, entropy analysis, and the utilization of a large language model.
翻译:提出了一种创新策略,通过实现适用于包括二进制和文本文件在内的多种文件格式的随机化密钥矩阵,来增强对称替换密码的安全性。尽管对称替换密码具有历史意义,但其一直受限于频率分析和已知明文攻击等密码分析方法带来的漏洞。本研究旨在通过采用一种结合了独特随机化密钥矩阵的多表替换策略来缓解这些漏洞。该矩阵在生成包含大写与小写字母、数字及特殊字符的独特随机密钥中起关键作用,从而推导出对应的密文。通过涵盖计算速度、频率分析、密钥空间检验、卡西斯基测试、熵分析以及利用大型语言模型在内的全面测试与分析,所提出方法在增强传统替换方法用于文件加密与解密的安全性方面的有效性得到了充分支持。