A property-based testing framework for encryption programs
文献类型:期刊论文
作者 | Sun, Chang-ai (1) ; Wang, Zuoyi (1) ; Wang, Guan (1) |
刊名 | Frontiers of Computer Science
![]() |
出版日期 | 2014 |
卷号 | 8期号:3页码:478-489 |
关键词 | software testing encryption programs test oracles metamorphic testing (MT) |
ISSN号 | 20952228 |
通讯作者 | Sun, C.-A.(casun@ustb.edu.cn) |
中文摘要 | In recent years, a variety of encryption 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. © 2014 Higher Education Press and Springer-Verlag Berlin Heidelberg. |
英文摘要 | In recent years, a variety of encryption 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. © 2014 Higher Education Press and Springer-Verlag Berlin Heidelberg. |
收录类别 | SCI ; EI |
语种 | 英语 |
WOS记录号 | WOS:000337042200012 |
公开日期 | 2014-12-16 |
源URL | [http://ir.iscas.ac.cn/handle/311060/16859] ![]() |
专题 | 软件研究所_软件所图书馆_期刊论文 |
推荐引用方式 GB/T 7714 | Sun, Chang-ai ,Wang, Zuoyi ,Wang, Guan . A property-based testing framework for encryption programs[J]. Frontiers of Computer Science,2014,8(3):478-489. |
APA | Sun, Chang-ai ,Wang, Zuoyi ,&Wang, Guan .(2014).A property-based testing framework for encryption programs.Frontiers of Computer Science,8(3),478-489. |
MLA | Sun, Chang-ai ,et al."A property-based testing framework for encryption programs".Frontiers of Computer Science 8.3(2014):478-489. |
入库方式: OAI收割
来源:软件研究所
浏览0
下载0
收藏0
其他版本
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。