一种增强型文件加密程序设计与实现

2018-01-09 13:45:44王淦刘桂花王金才
软件导刊 2017年12期

王淦+刘桂花+王金才

摘要:

目前,个人信息泄露问题十分严重,对敏感和隐私数据进行加密保护是防止个人信息被窃取的有效方法。已有的成熟加密算法如AES及RSA等均面向大规模应用,其算法较为复杂,运行开销也较大。对个人数据而言,可以运用密码学基本原理设计并实现简单的文件加密器对其进行保护。然而,现有的一些文件加密程序过于简易,有的程序甚至在实现上存在漏洞,在时间和资源充足的条件下容易被破解或恢复。设计并实现了一种增强型的文件加密程序,加解密均可用同一程序实现,并可安全高效地对任意类型的文件进行加解密。实验结果显示,该程序能准确地对文件进行加解密,且执行效率高,实用性强。

关键词:信息安全;数据保护;文件加解密

DOIDOI:10.11907/rjdk.172115

中图分类号:TP309.7

文献标识码:A 文章编号:1672-7800(2017)012-0194-03

Abstract:At present, the leakage of personal information is very serious. Encrypting sensitive and private data is an effective method to prevent personal information from being illegal leaked and obtained. Existing mature encryption algorithms, such as AES and RSA, are oriented to large-scale applications, their algorithms are more complex and their operating costs are relatively large. For our personal data, we can design and implement and small-scale file encryptor using basic principles of cryptology. However, some of the existing programs are too simple and some of them even have bugs in implementation. These programs are easy to be broken and recovered.In this paper, we designed and implemented an enhanced file encryptor with the same program in encryption and decryption. This program can safely and efficiently encrypt and decrypt any type of files. The experimental results show that this program can encrypt and decrypt accurately, and its implementation efficiency is very high, and can be applied to actual situations.

Key Words:information security; data protection; file encryption and decryption

0 引言

当前,互联网个人信息泄露问题已经非常严重。据统计,78.2%的网民个人身份信息曾被泄露,包括姓名、家庭住址、身份证號及工作单位等[1]。通常采用两种方法防止信息泄露:一是做好敏感和隐私数据的保护工作,防止信息被盗取;二是对敏感和隐私数据进行加密,即使万一泄露也不会被非法读取。事实上,想要完全做到数据的保护十分困难,因此对敏感和隐私数据进行加密显得尤为重要。

标准化的加密算法如AES、RSA等是面向大规模应用的,其算法比较复杂,运行开销也较大,并不适用于日常个人信息的保护。本文运用密码学的基本原理,自行设计并实现了一种简单、高效的加密算法来保护网民的个人信息。……

登录APP查看全文