journal article·2021-02-17Open access

TEDL: A Text Encryption Method Based on Deep Learning

Peng Wang, Xiang Li

Applied Sciences· Volume 11· Issue 4

Abstract

Recent years have seen an increasing emphasis on information security, and various encryption methods have been proposed. However, for symmetric encryption methods, the well-known encryption techniques still rely on the key space to guarantee security and suffer from frequent key updating. Aiming to solve those problems, this paper proposes a novel symmetry-key method for text encryption based on deep learning called TEDL, where the secret key includes hyperparameters in the deep learning model and the core step of encryption is transforming input data into weights trained under hyperparameters. Firstly, both communication parties establish a word vector table by training a deep learning model according to specified hyperparameters. Then, a self-update codebook is constructed on the word vector table with the SHA-256 function and other tricks. When communication starts, encryption and decryption are equivalent to indexing and inverted indexing on the codebook, respectively, thus achieving the transformation between plaintext and ciphertext. Results of experiments and relevant analyses show that TEDL performs well for security, efficiency, generality, and has a lower demand for the frequency of key redistribution. Especially, as a supplement to current encryption methods, the time-consuming process of constructing a codebook increases the difficulty of brute-force attacks, meanwhile, it does not degrade the efficiency of communications.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Chaos-based Image/Signal Encryption · Internet Traffic Analysis and Secure E-voting · Advanced Steganography and Watermarking Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Computer Science and Engineering, Southeast University, Nanjing 211189, China

Institute for Interdisciplinary Information Sciences, Tsinghua University, Beijing 100084, China

Funding

National Key Research and Development Program of China

References (55)

Show source-provided references
1. Molecular computation of solutions to combinatorial problems10.1126/science.7973651 ↗
2. Hiding messages in DNA microdots10.1038/21092 ↗
3. Fu, C., Zhao, G.Y., Gao, M., and Ma, H.F. (2013, January 22–25). A chaotic symmetric image cipher using a pixel-swapping based permutation. Proceedings of the 2013 IEEE International Conference of IEEE Region 10 (TENCON), Xi’an, China.10.1109/TENCON.2013.6718798 ↗
4. Report on the development of the Advanced Encryption Standard (AES)10.6028/jres.106.023 ↗
5. Communication theory of secrecy systems10.1002/j.1538-7305.1949.tb00928.x ↗
6. One-time pad cryptography10.1080/0161-119691885040 ↗
7. Schneier, B. (2007). Applied Cryptography: Protocols, Algorithms, and Source Code in C, John Wiley & Sons.
8. Stallings, W. (2017). Cryptography and Network Security: Principles and Practice, Pearson.
9. Drawbacks of the one-time pad10.1080/0161-119791885986 ↗
10. Rueppel, R.A. (2012). Analysis and Design of Stream Ciphers, Springer Science & Business Media.
11. Deep learning10.1038/nature14539 ↗
12. Zhang, Y., Jatowt, A., and Tanaka, K. (2016, January 5–8). Towards understanding word embeddings: Automatically explaining similarity of terms. Proceedings of the 2016 IEEE International Conference on Big Data (Big Data), Washington, DC, USA.10.1109/BigData.2016.7840675 ↗
13. Recent trends in deep learning based natural language processing10.1109/MCI.2018.2840738 ↗
14. From Word to Sense Embeddings: A Survey on Vector Representations of Meaning10.1613/jair.1.11259 ↗
15. Mikolov, T., Chen, K., Corrado, G., and Dean, J. (2013). Efficient estimation of word representations in vector space. arXiv.
16. Mikolov, T., Sutskever, I., Chen, K., Corrado, G.S., and Dean, J. (2013). Distributed representations of words and phrases and their compositionality. Advances in Neural Information Processing Systems, Curran.
17. Pennington, J., Socher, R., and Manning, C. (2014, January 25–29). Glove: Global vectors for word representation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1162 ↗
18. Joulin, A., Grave, E., Bojanowski, P., and Mikolov, T. (2016). Bag of tricks for efficient text classification. arXiv.10.18653/v1/E17-2068 ↗
19. FIPS PUB (2012). Secure Hash Standard (SHS), FIPS PUB.
20. Multi-key privacy-preserving deep learning in cloud computing10.1016/j.future.2017.02.006 ↗
21. Shokri, R., and Shmatikov, V. (2015, January 12–16). Privacy-preserving deep learning. Proceedings of the 22nd ACM SIGSAC Conference on Computer and Communications Security, Denver, CO, USA.10.1145/2810103.2813687 ↗
22. Privacy preserving deep computation model on cloud for big data feature learning10.1109/TC.2015.2470255 ↗
23. Gilad-Bachrach, R., Dowlin, N., Laine, K., Lauter, K., Naehrig, M., and Wernsing, J. (2016, January 19–24). Cryptonets: Applying neural networks to encrypted data with high throughput and accuracy. Proceedings of the International Conference on Machine Learning, New York, NY, USA.
24. Privacy-preserving classification on deep neural network
25. Hesamifard, E., Takabi, H., and Ghasemi, M. (2017). Cryptodl: Deep neural networks over encrypted data. arXiv.
26. Zhao, R., and Iwaihara, M. (2017). Lightweight Efficient Multi-keyword Ranked Search over Encrypted Cloud Data using Dual Word Embeddings. arXiv.
27. Long, Y., and Liu, Y. (2018, January 8–10). Text coverless information hiding based on word2vec. Proceedings of the International Conference on Cloud Computing and Security, Haikou, China.10.1007/978-3-030-00015-8_40 ↗
28. Shokri, R., Stronati, M., Song, C., and Shmatikov, V. (2017, January 22–26). Membership inference attacks against machine learning models. Proceedings of the 2017 IEEE Symposium on Security and Privacy (SP), San Jose, CA, USA.10.1109/SP.2017.41 ↗
29. Carlini, N., Liu, C., Kos, J., Erlingsson, Ú., and Song, D. (2018). The secret sharer: Measuring unintended neural network memorization & extracting secrets. arXiv.
30. Rong, X. (2014). word2vec parameter learning explained. arXiv.
31. Levy, O., and Goldberg, Y. (2014). Neural word embedding as implicit matrix factorization. Advances in Neural Information Processing Systems, Curran.
32. Improving distributional similarity with lessons learned from word embeddings10.1162/tacl_a_00134 ↗
33. Seo, S., Huang, J., Yang, H., and Liu, Y. (2017, January 27–31). Interpretable convolutional neural networks with dual local and global attention for review rating prediction. Proceedings of the Eleventh ACM Conference on Recommender Systems, Como, Italy.10.1145/3109859.3109890 ↗
34. Vellido, A., Martín-Guerrero, J.D., and Lisboa, P.J. (2012, January 25–27). Making Machine Learning Models Interpretable. Proceedings of the 20th European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning, Bruges, Belgium.
35. Bengio, Y., Lee, D.H., Bornschein, J., Mesnard, T., and Lin, Z. (2015). Towards biologically plausible deep learning. arXiv.
36. Fong, R.C., and Vedaldi, A. (2017, January 22–29). Interpretable explanations of black boxes by meaningful perturbation. Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy.10.1109/ICCV.2017.371 ↗
37. Samek, W., Wiegand, T., and Müller, K.R. (2017). Explainable Artificial Intelligence: Understanding, Visualizing and Interpreting Deep Learning Models. arXiv.
38. From frequency to meaning: Vector space models of semantics10.1613/jair.2934 ↗
39. Sparse matrices in MATLAB: Design and implementation10.1137/0613024 ↗
40. Word association norms, mutual information, and lexicography
41. Co-occurrence vectors from corpora vs. distance vectors from dictionaries10.3115/991886.991938 ↗
42. Alberti, L.B., Buonafalce, A., Mendelsohn, C.J., and Kahn, D. (1997). A Treatise on Ciphers, Galimberti.
43. Differential cryptanalysis of DES-like cryptosystems10.1007/BF00630563 ↗
44. Matsui, M. (1993, January 23–27). Linear cryptanalysis method for DES cipher. Proceedings of the Workshop on the Theory and Application of Cryptographic Techniques, Lofthus, Norway.10.1007/3-540-48285-7_33 ↗
45. Knudsen, L.R. (1994, January 14–16). Truncated and higher order differentials. Proceedings of the International Workshop on Fast Software Encryption, Leuven, Belgium.
46. Wagner, D. (1999, January 24–26). The boomerang attack. Proceedings of the International Workshop on Fast Software Encryption, Rome, Italy.10.1007/3-540-48519-8_12 ↗
47. Kim, J., Hong, S., Sung, J., Lee, S., Lim, J., and Sung, S. (2003, January 8–10). Impossible differential cryptanalysis for block cipher structures. Proceedings of the International Conference on Cryptology in India, New Delhi, India.10.1007/978-3-540-24582-7_6 ↗
48. Courtois, N.T., and Pieprzyk, J. (2002, January 1–5). Cryptanalysis of block ciphers with overdefined systems of equations. Proceedings of the International Conference on the Theory and Application of Cryptology and Information Security, Queenstown, New Zealand.10.1007/3-540-36178-2_17 ↗
49. Dunkelman, O., and Biham, E. (2006). Techniques for Cryptanalysis of Block Ciphers. [Ph.D. Thesis, Technion—Israel Institute of Technology].
50. Adebayo, J., Gilmer, J., Goodfellow, I., and Kim, B. (2018). Local explanation methods for deep neural networks lack sensitivity to parameter values. arXiv.
51. Mendel, F., Pramstaller, N., Rechberger, C., and Rijmen, V. (2006, January 15–17). Analysis of step-reduced SHA-256. Proceedings of the International Workshop on Fast Software Encryption, Graz, Austria.10.1007/11799313_9 ↗
52. Mastan, J.M.K., Sathishkumar, G., and Bagan, K.B. (2011, January 22–24). A color image encryption technique based on a substitution-permutation network. Proceedings of the International conference on Advances in Computing and Communications, Kochi, India.10.1007/978-3-642-22726-4_54 ↗
53. κ-Lookback random-based text encryption technique
54. A neural probabilistic language model
55. Perozzi, B., Al-Rfou, R., and Skiena, S. (2014, January 24–27). Deepwalk: Online learning of social representations. Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, New York, NY, USA.10.1145/2623330.2623732 ↗