摘要
在Windows端和Linux端之间采用非对称算法进行数据加密传输时,为有效避免由于引入第三方代码库而增加程序体积和安全风险,提出了一种基于Windows平台的加密传输库winSSL设计与实现方法.winSSL的实现思路是在Windows平台下利用Windows安全服务接口实现SSL/TSL协议的初始化、握手认证、数据传输、结束传输等接口函数.采用winSSL库实现的客户端程序可与Open SSL服务端程序无缝对接.实验表明,winSSL程序体积相比OpenSSL程序,文件压缩比率达到了1/19,相比其他OpenSSL替代库,程序体积也有明显改善,而在传输效率上却没有损失.
When using asymmetric algorithm for data encryption transmission between Windows and Linux,in order to effectively avoid the increase of program volume and security risk due to the introduction of third-party code base,a design and implementation method of encrypted transmission library winSSL based on Windows platform is proposed.The implementation idea of winSSL is to use the Windows security service interface to realize the interface functions of SSL/TSL protocol,such as initialization,handshake authentication,data transmission,end transmission and so on.The client program implemented by winSSL library can be seamlessly connected with the OpenSSL server program.Experiments show that compared with OpenSSL program,the file compression ratio of winSSL program is 1/19.Compared with other OpenSSL alternative libraries,the program volume is also significantly improved,but there is no loss in transmission efficiency.
作者
袁梁
YUAN Liang(Teachers College,Wuxi City College of Vocational Technology,Wuxi 214000,China)
出处
《高师理科学刊》
2022年第9期32-38,共7页
Journal of Science of Teachers'College and University
基金
无锡市教育科学“十三五”规划课题(H/B/2018/003)。