一种新的短二值序列检验算法:第一区间检验

Jinchi Li, Sheng Lin
{"title":"一种新的短二值序列检验算法:第一区间检验","authors":"Jinchi Li, Sheng Lin","doi":"10.1145/3448734.3450878","DOIUrl":null,"url":null,"abstract":"The randomness test is particularly important in the evaluation of encryption algorithms. The ciphertext generated by the encryption algorithm should have a certain degree of randomness, otherwise the security of the algorithm cannot be guaranteed. Besides, block cipher algorithm and hash function algorithm cannot generate a long binary sequence, up to 512 bits, and the detection results of traditional detection algorithms are not ideal when detecting short fixed length sequences. Therefore, a new detection algorithm is proposed for the randomness of short binary sequences, which is named as the First Interval Test. It focuses on checking whether the length of the interval between the first element and its nest position is random, using the first interval, FI, as a new statistic, and transforming the detection sequence, so that this algorithm can be applied to the randomness detection of integer sequences and binary sequences. The specific probability distribution at each length is given, the parameter selection of the algorithm is defined, and the real p-value distribution is derived to further apply the chi-square goodness of fit test. Taking the correlation between plaintext and ciphertext as the standard, a comparative experiment was carried out on block cipher algorithm and hash function algorithm. The results show that the First Interval Test improves the accuracy of the randomness test.","PeriodicalId":105999,"journal":{"name":"The 2nd International Conference on Computing and Data Science","volume":"214 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-01-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"New Short Binary Sequence Test Algorithm: First Interval Test\",\"authors\":\"Jinchi Li, Sheng Lin\",\"doi\":\"10.1145/3448734.3450878\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The randomness test is particularly important in the evaluation of encryption algorithms. The ciphertext generated by the encryption algorithm should have a certain degree of randomness, otherwise the security of the algorithm cannot be guaranteed. Besides, block cipher algorithm and hash function algorithm cannot generate a long binary sequence, up to 512 bits, and the detection results of traditional detection algorithms are not ideal when detecting short fixed length sequences. Therefore, a new detection algorithm is proposed for the randomness of short binary sequences, which is named as the First Interval Test. It focuses on checking whether the length of the interval between the first element and its nest position is random, using the first interval, FI, as a new statistic, and transforming the detection sequence, so that this algorithm can be applied to the randomness detection of integer sequences and binary sequences. The specific probability distribution at each length is given, the parameter selection of the algorithm is defined, and the real p-value distribution is derived to further apply the chi-square goodness of fit test. Taking the correlation between plaintext and ciphertext as the standard, a comparative experiment was carried out on block cipher algorithm and hash function algorithm. The results show that the First Interval Test improves the accuracy of the randomness test.\",\"PeriodicalId\":105999,\"journal\":{\"name\":\"The 2nd International Conference on Computing and Data Science\",\"volume\":\"214 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-01-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"The 2nd International Conference on Computing and Data Science\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3448734.3450878\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"The 2nd International Conference on Computing and Data Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3448734.3450878","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

随机性检验在加密算法的评估中尤为重要。加密算法生成的密文应具有一定的随机性,否则无法保证算法的安全性。此外,分组密码算法和哈希函数算法不能生成最多512位的长二进制序列,传统检测算法在检测短固定长度序列时检测结果不理想。为此,提出了一种新的短二值序列随机性检测算法,称为第一次区间检验。重点检查第一个元素与它的巢位置之间的间隔长度是否随机,利用第一个间隔FI作为新的统计量,并对检测序列进行变换,使该算法可以应用于整数序列和二进制序列的随机性检测。给出了各长度处的具体概率分布,定义了算法的参数选择,导出了实p值分布,进一步应用卡方拟合优度检验。以明文和密文的相关性为标准,对分组密码算法和哈希函数算法进行了对比实验。结果表明,第一次区间检验提高了随机性检验的准确性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
New Short Binary Sequence Test Algorithm: First Interval Test
The randomness test is particularly important in the evaluation of encryption algorithms. The ciphertext generated by the encryption algorithm should have a certain degree of randomness, otherwise the security of the algorithm cannot be guaranteed. Besides, block cipher algorithm and hash function algorithm cannot generate a long binary sequence, up to 512 bits, and the detection results of traditional detection algorithms are not ideal when detecting short fixed length sequences. Therefore, a new detection algorithm is proposed for the randomness of short binary sequences, which is named as the First Interval Test. It focuses on checking whether the length of the interval between the first element and its nest position is random, using the first interval, FI, as a new statistic, and transforming the detection sequence, so that this algorithm can be applied to the randomness detection of integer sequences and binary sequences. The specific probability distribution at each length is given, the parameter selection of the algorithm is defined, and the real p-value distribution is derived to further apply the chi-square goodness of fit test. Taking the correlation between plaintext and ciphertext as the standard, a comparative experiment was carried out on block cipher algorithm and hash function algorithm. The results show that the First Interval Test improves the accuracy of the randomness test.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信