Q_Value检测:一种新的随机数统计检测方法

来源 :密码学报 | 被引量 : 0次 | 上传用户:cqwsxwsx
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
随机数在密码与安全技术方面使用广泛,随机数的产生和使用过程中,需要对随机数的随机性进行检测,统计检测是一种普遍采用的随机数检测方法,其中NIST发布的SP 800-22统计检测包是国际上常采用的统计检测方法,它包含15个检测项目,每个检测项又分为一级检测和二级检测.对于SP 800-22的正态分布型检测项目,我们发现这些检测项目的二级检测是不完备的,即通过这种检测的随机序列仍有可能在所检测的统计特性上存在缺陷.这是因为,正态分布型的检测计算出的P_value适用于一级检测,不适用于二级检测,因为在二级检测中,即使该P_value分布均匀,被测序列通过检测,这个序列也不一定满足所检测性质,为此,不同于原标准二级检测中的P_value均匀性检测,本文提出了Q_value的均匀性检测作为正态分布型检测项目的二级检测,并且给出了Q_value参数的非渐进分布,我们发现相比于P_value,Q_value的分布更接近于均匀分布,用于新的检测能降低误检率提高可靠性.最后,本文通过实验证实Q_value检测能够发现一些更为隐蔽的统计缺陷. Random numbers are widely used in the fields of cryptography and security technologies. In the process of generating and using random numbers, the randomness of random numbers needs to be tested. Statistical testing is a commonly used random number detection method. Among them, the SP 800- 22 Statistical test package is a commonly used statistical test method in the world, which contains 15 test items, each test item is divided into first-level test and second-level test. For the SP 800-22 normal distributed test items, we It is found that the secondary detection of these test items is not complete, ie, the random sequence passed through this test is still likely to have defects in the statistical properties tested, because the P_value calculated by the test of normal distribution applies to The first level test is not suitable for the second level test because in the second level test, even if the P_value is evenly distributed, the sequence under test does not necessarily satisfy the detected property. Therefore, unlike the second level test In this paper, the detection of uniformity of Q_value is proposed as a second-level detection of normal distribution detection items, and the non-progressive distribution of Q_value parameters is given. We find that phase In P_value, Q_value distribution closer to a uniform distribution, for detecting the new false positive rate can be reduced to improve reliability. Finally, the detection can be confirmed by experiment Q_value find some more subtle defect statistics.
其他文献
<正>一季度我国GDP同比增长6.8%,增速较2017年小幅回落0.1个百分点,仍然保持平稳较高增速。展望2018年下半年,预计净出口受中美贸易争端的影响,对经济增长的贡献将大幅降低,
人们常说中国农民比较保守。但我们注意到,面对农业生产经营可能发生的未知风险,农民所持的保守心理有其合理性,而且在不同时代,农民的保守性所表现的方向完全不一样。这取决
所谓立场,指的是人们认识和处理问题时所处的地位和所持的观点、态度。我们每个人都有立场,不论是自觉还是不自觉,在面对任何事物时都会有自己的价值判断和行动选择。学校管
新建赤峰至京沈高铁喀左站铁路区间朝阳沟隧道拟下穿燕内长城遗址结构,因此对全国重点文物保护单位燕内长城进行运营期间列车振动荷载影响研究十分必要。采用有限元分析软件A
本文对橡胶制品中N-亚硝胺检测和产生进行了初步研究,分别对橡胶原材料、硫化胶和橡胶制品采用气相色谱/热能分析仪进行了N-亚硝胺物质的测定,实验结果表明:橡胶原材料中未检
为扩大蓝云杉(Picea pungens)在甘肃的栽培范围,利用甘肃小陇山国家云杉种质资源库的蓝云杉、欧洲云杉(Picea abies)、白云杉(Picea glauca),在甘肃中部干旱半干旱区(临洮)自
为了增强林业管理人员的自信心和责任心,全面提升林业队伍的素质能力。我们应组织林业管理人员通过学习理论知识,充分了解当前林业发展的新形势,将林业前沿知识与基层林业需
针对碱性过硫酸钾消解紫外分光光度法测定水中总氮的空白吸光度偏高、标准曲线线性不佳的现状,探讨总氮测定中的空白影响因素。通过正交试验来说明总氮的空白影响因素的主次
草莓是一种浆果,果实色泽鲜红,柔嫩多汁,甜酸适口,含有丰富的花色苷、VC和多酚等抗氧化活性物质,具有很好的抗氧化活性。草莓加工产品形式多样,使用的加工方法不尽相同,不同
比较了不同提取方法:水溶法、冻融法、组织研磨法、机械搅拌法、超声波辅助法对条斑紫菜藻红蛋白提取效果的影响。首次将超微粉碎与超声波辅助提取法结合提取藻红蛋白,以条斑