摘要: Linux操作系统是一个开源的免费操作系统,使用过它的人都知道,它具有安全、稳定、成本低的特点。随着互联网的快速发展,Linux操作系统在亚洲地区特别是我国,不断普及,服务器、工作站甚至个人电脑对Linux软件的使用频率越来越高, 因此Linux操作系统下的数据加密在我们生活中的地位已经越来越重要了,尤其是考虑到在网络上发生的大量交易和传输的大量数据,采取安全措施就显得非常必要。因而本文选择在Linux平台对PHP的加解密扩展库进行开发。39501
PHP是现在比较流行的服务器端软件,通过PHP编制的动态网页应用十分广泛,实现PHP的加解密技术尤为重要。PHP有丰富的函数库,一般情况下已经够我们使用,但为了注重加解密的效率,如复杂的信息加解密算法,需要编写成PHP扩展。本文讨论了在 Linux平台 PHP的加解密扩展库的开发,对 Linux平台和 PHP 的应用情况做了相应的介绍,编译安装PHP模块并加载加密模块进PHP,最后通过聊天室PHP来测试加密模块的加密和解密方法的使用。
毕业论文关键词: Linux操作系统;PHP扩展;RC5算法;PHP聊天室
Linux platform PHP encryption extensions library development
Abstract:
Linux operating system is an open source operating system for free , It has the characteristics of safety, stability and low cost. With the rapid development of the Internet , spread the Linux operating system in our country, more and more servers, workstations and personal computers began using Linux software , therefore under the Linux operating system of data encryption in the position has been more and more important in our life,especially given the large number of transactions taking place on the Internet and transmission of large amounts of data,to take safety measures is very necessary . This article choose in Linux platform encryption extension libraries of PHP development .
PHP is now more popular server-side software, compiled by PHP dynamic web application is very extensive, implement PHP encryption technology is particularly important . PHP has abundant function library, usually we use enough, but to pay attention to the efficiency of encryption, such as complex encryption algorithm, you need to write a PHP extension . This paper discusses on the Linux platform PHP encryption extensions library development, the Linux platform and PHP application made corresponding introduction , compile the installing PHP module and load encryption module in PHP , finally through the chat room PHP to test the use of encryption and decryption method of encryption module .
Keywords: Linux operating system; PHP extensions; RC5 algorithm; PHP chat room
目 录
第1章 绪论 1
1.1 设计的研究背景 1
1.2 设计的研究目的和意义 1
1.3 论文研究内容及结构安排 2
第2章 环境搭建 3
2.1 安装APACHE服务器 3
2.2 编译安装PHP 4
2.3 本章小结 5
第3章 RC5 6
3.1 简介 6
3.2 RC5基本原理 6
3.3 运算过程 7
3.4 本章小结 8
第4章 开发PHP加解密扩展库 9
4.1 生成开发骨架 9
4.2 修改CONFIG.M4 10
4.3修改MYCR5.C 和PHP_MYCR5.H文件 10
4.4编译 20
4.5 修改PHP.INI 20
第5章 PHP聊天室测试 22
5.1 PHP聊天室说明 22
5.2 加入加解密代码 22
5.3 进入聊天室查看功能实现 23 Linux平台PHP的加解密扩展库开发:http://www.751com.cn/jisuanji/lunwen_39814.html