Simplification of Frequency Test for Random Number Generation Based on Chi-Square

Kruawan Wongpanya, K. Sripimanwat, K. Jenjerapongvej
{"title":"Simplification of Frequency Test for Random Number Generation Based on Chi-Square","authors":"Kruawan Wongpanya, K. Sripimanwat, K. Jenjerapongvej","doi":"10.1109/AICT.2008.42","DOIUrl":null,"url":null,"abstract":"This paper presents the simplified method of random test suite based on the frequency (block) test. The test is used to check the first property of random numbers which is to have the same probabilities of being \"1\" and \"0\". Random numbers are used for the secret key generation which is an essential part for cryptographic system. Before encryption, secret keys need to pass the random test in order to make it harder for outsiders to predict the pattern of the secret keys. Basically, the decision making of whether the secret keys are truly random, is based on the test statistics computation. Due to the motivation that the classical method based on the NIST statistical test suite (NIST STS) is complex and redundant, the reduction of this random testing procedure is then proposed. The introduced technique does not need to compute the incomplete gamma function (Igamc) nor the P-value for the decision making of test results unlike that of the classical method. Thus, it results to the reduction in the testing decision time. In this technique, the decision making and conclusion can be determined from the critical value of chi-square (chi2) directly. Its results without having to compute Igamc is compared to that of the classical method. In the test, the significance level (a) is set to be 0.01 or 0.05 in order to obtain the critical values and the critical regions. Resulting to the confidence of 99% or 95% respectively. Next, overall performance is evaluated by computing the percentage difference in order to demonstrate that the proposed value gives the same result as that of the classical method. Therefore, this proposed technique can be applied as that of the conventional based on the frequency (block) test.","PeriodicalId":105735,"journal":{"name":"2008 Fourth Advanced International Conference on Telecommunications","volume":"82 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-06-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2008 Fourth Advanced International Conference on Telecommunications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/AICT.2008.42","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

This paper presents the simplified method of random test suite based on the frequency (block) test. The test is used to check the first property of random numbers which is to have the same probabilities of being "1" and "0". Random numbers are used for the secret key generation which is an essential part for cryptographic system. Before encryption, secret keys need to pass the random test in order to make it harder for outsiders to predict the pattern of the secret keys. Basically, the decision making of whether the secret keys are truly random, is based on the test statistics computation. Due to the motivation that the classical method based on the NIST statistical test suite (NIST STS) is complex and redundant, the reduction of this random testing procedure is then proposed. The introduced technique does not need to compute the incomplete gamma function (Igamc) nor the P-value for the decision making of test results unlike that of the classical method. Thus, it results to the reduction in the testing decision time. In this technique, the decision making and conclusion can be determined from the critical value of chi-square (chi2) directly. Its results without having to compute Igamc is compared to that of the classical method. In the test, the significance level (a) is set to be 0.01 or 0.05 in order to obtain the critical values and the critical regions. Resulting to the confidence of 99% or 95% respectively. Next, overall performance is evaluated by computing the percentage difference in order to demonstrate that the proposed value gives the same result as that of the classical method. Therefore, this proposed technique can be applied as that of the conventional based on the frequency (block) test.
基于卡方的随机数生成频率检验的简化
本文提出了基于频率(块)测试的随机测试套件的简化方法。该测试用于检查随机数的第一个属性,即具有相同的概率为“1”和“0”。密钥的生成使用随机数,密钥的生成是密码系统的重要组成部分。在加密之前,密钥需要通过随机测试,以使外界更难预测密钥的模式。基本上,秘钥是否真正随机的决策是基于测试统计量的计算。针对基于NIST统计测试套件(NIST STS)的经典方法复杂、冗余的动机,提出了对该随机测试过程的简化方法。与经典方法不同,该方法不需要计算不完全伽马函数(Igamc),也不需要计算检验结果决策的p值。从而减少了测试决策时间。在该技术中,可以直接从卡方的临界值(chi2)来确定决策和结论。并与经典方法的结果进行了比较。在检验中,为了得到临界值和临界区域,将显著性水平(a)设为0.01或0.05。结果置信度分别为99%和95%。接下来,通过计算百分比差异来评估总体性能,以证明所建议的值与经典方法的结果相同。因此,该方法可以与传统的基于频率(块)测试的方法一样适用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信