期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
A property-based testing framework for encryption programs
1
作者 Chang-ai SUN Zuoyi WANG Guan WANG 《Frontiers of Computer Science》 SCIE EI CSCD 2014年第3期478-489,共12页
In recent years, a variety of encrypfion algorithms were proposed to enhance the security of software and systems. Validating whether encryption algorithms are correctly implemented is a challenging issue. Software te... In recent years, a variety of encrypfion algorithms were proposed to enhance the security of software and systems. Validating whether encryption algorithms are correctly implemented is a challenging issue. Software testing delivers an effective and practical solution, but it also faces the oracle problem (that is, under many practical situations, it is impossible or too computationally expensive to know whether the output for any given input is correct). In this paper, we propose a property-based approach to testing encryption programs in the absence of oracles. Our approach makes use of the so-called metamorphic properties of encryption algorithms to generate test cases and verify test results. Two case studies were conducted to illustrate the proposed approach and validate its effectiveness. Experimental results show that even without oracles, the proposed approach can detect nearly 50% inserted faults with at most three metamorphic relations (MRs) and fifty test cases. 展开更多
关键词 software testing encryption programs test oracles metamorphic testing (MT)
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部