arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0601076cs.CR
收藏

对称密码的测试感染学习

Learning by Test-infecting Symmetric Ciphers

K. S. Ooi

摘要:

我们描述了一种新颖的方式,学生可以学习密码系统没有太多的监督。在这项工作中,我们专注于学习对称密码改变他们使用敏捷开发方法。两个敏捷方法极限编程(XP)和密切相关的测试驱动开发(TDD)被提及或讨论。为了促进这种开发,我们尝试了一种基于重构的方法,JUnit作为自动测试框架。在这项工作中,我们通过测试感染Vernam密码来验证我们的学习方法,Vernam密码是一种古老但仍然广泛使用的流密码。可以用具有相同行为的另一个对称密码替换该密码。简要介绍了软件测试。以JavaTM为例,提倡及时引入面向对象编程(OOP)。重构练习,正如所争论的那样,在战略上保持简单,这样它们就不会成为密集的类重新设计练习。提到了使用免费或开源工具和框架。

英文摘要:

We describe a novel way in which students can learn the cipher systems without much supervision. In this work we focus on learning symmetric ciphers by altering them using the agile development approach. Two agile approaches the eXtreme Programming (XP) and the closely related Test-Driven Development (TDD) are mentioned or discussed. To facilitate this development we experiment with an approach that is based on refactoring, with JUnit serves as the automatic testing framework. In this work we exemplify our learning approach by test-infecting the Vernam cipher, an aged but still widely used stream cipher. One can replace the cipher with another symmetric cipher with the same behavior. Software testing is briefly described. Just-in-time introduction to Object-oriented programming (OOP), exemplified by using JavaTM, is advocated. Refactoring exercises, as argued, are kept strategically simple so that they do not become intensive class redesign exercises. The use of free or open-source tools and frameworks is mentioned.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑