Scrambling additive lagged-Fibonacci generators

IF 0.8 Q3 STATISTICS & PROBABILITY Monte Carlo Methods and Applications Pub Date : 2022-08-04 DOI:10.1515/mcma-2022-2115
Haifa Aldossari, M. Mascagni
{"title":"Scrambling additive lagged-Fibonacci generators","authors":"Haifa Aldossari, M. Mascagni","doi":"10.1515/mcma-2022-2115","DOIUrl":null,"url":null,"abstract":"Abstract Random numbers are used in a variety of applications including simulation, sampling, and cryptography. Fortunately, there exist many well-established methods of random number generation. An example of a well-known pseudorandom number generator is the lagged-Fibonacci generator (LFG). Marsaglia showed that the lagged-Fibonacci generator using addition failed some of his DIEHARD statistical tests, while it passed all when longer lags were used. This paper presents a scrambler that takes bits from a pseudorandom number generator and outputs (hopefully) improved pseudorandom numbers. The scrambler is based on a modified Feistel function, a method used in the generation of cryptographic random numbers, and multiplication by a chosen multiplier. We show that this scrambler improves the quality of pseudorandom numbers by applying it to the additive LFG with small lags. The scrambler performs well based on its performance with the TestU01 suite of randomness tests. The TestU01 suite of randomness tests is more comprehensive than the DIEHARD tests. In fact, the specific suite of tests we used from TestU01 includes the DIEHARD tests The scrambling of the LFG is so successful that scrambled LFGs with small lags perform as well as unscrambled LFGs with long lags. This comes at the cost of a doubling of execution time, and provides users with generators with small memory footprints that can provide parallel generators like the LFGs in the SPRNG parallel random number generation package.","PeriodicalId":46576,"journal":{"name":"Monte Carlo Methods and Applications","volume":"28 1","pages":"199 - 210"},"PeriodicalIF":0.8000,"publicationDate":"2022-08-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Monte Carlo Methods and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1515/mcma-2022-2115","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"STATISTICS & PROBABILITY","Score":null,"Total":0}
引用次数: 0

Abstract

Abstract Random numbers are used in a variety of applications including simulation, sampling, and cryptography. Fortunately, there exist many well-established methods of random number generation. An example of a well-known pseudorandom number generator is the lagged-Fibonacci generator (LFG). Marsaglia showed that the lagged-Fibonacci generator using addition failed some of his DIEHARD statistical tests, while it passed all when longer lags were used. This paper presents a scrambler that takes bits from a pseudorandom number generator and outputs (hopefully) improved pseudorandom numbers. The scrambler is based on a modified Feistel function, a method used in the generation of cryptographic random numbers, and multiplication by a chosen multiplier. We show that this scrambler improves the quality of pseudorandom numbers by applying it to the additive LFG with small lags. The scrambler performs well based on its performance with the TestU01 suite of randomness tests. The TestU01 suite of randomness tests is more comprehensive than the DIEHARD tests. In fact, the specific suite of tests we used from TestU01 includes the DIEHARD tests The scrambling of the LFG is so successful that scrambled LFGs with small lags perform as well as unscrambled LFGs with long lags. This comes at the cost of a doubling of execution time, and provides users with generators with small memory footprints that can provide parallel generators like the LFGs in the SPRNG parallel random number generation package.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
置乱加性滞后斐波那契生成器
随机数用于各种应用,包括仿真、采样和密码学。幸运的是,存在许多完善的随机数生成方法。一个众所周知的伪随机数生成器的例子是滞后斐波那契生成器(LFG)。Marsaglia表明,使用加法的滞后斐波那契生成器未能通过他的一些统计测试,而当使用更长的滞后时,它通过了所有测试。本文提出了一种扰频器,它从伪随机数生成器中获取比特并输出(希望)改进的伪随机数。扰频器是基于一个改进的费斯特尔函数,一种用于生成加密随机数的方法,并乘以一个选定的乘数。我们证明了该扰频器通过将其应用于具有小滞后的加性LFG来提高伪随机数的质量。基于其在TestU01随机测试套件中的性能,该扰频器表现良好。test01随机测试套件比DIEHARD测试更全面。实际上,我们从test01中使用的特定测试套件包括DIEHARD测试。对LFG的置乱非常成功,具有小延迟的置乱LFG的性能与具有长延迟的未置乱LFG一样好。这是以双倍的执行时间为代价的,并且为用户提供了内存占用较小的生成器,可以提供类似SPRNG并行随机数生成包中的lfg这样的并行生成器。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Monte Carlo Methods and Applications
Monte Carlo Methods and Applications STATISTICS & PROBABILITY-
CiteScore
1.20
自引率
22.20%
发文量
31
期刊最新文献
Asymmetric kernel method in the study of strong stability of the PH/M/1 queuing system Random walk on spheres method for solving anisotropic transient diffusion problems and flux calculations Strong approximation of a two-factor stochastic volatility model under local Lipschitz condition On the estimation of periodic signals in the diffusion process using a high-frequency scheme Stochastic simulation of electron transport in a strong electrical field in low-dimensional heterostructures
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1