IEEE Access (Jan 2022)

BCsRNG: A Secure Random Number Generator Based on Blockchain

  • Chao-Hsien Hsieh,
  • Xinyu Yao,
  • Qing Zhang,
  • Mengchen Lv,
  • Ruobing Wang,
  • Bingxue Ni

DOI
https://doi.org/10.1109/ACCESS.2022.3206450
Journal volume & issue
Vol. 10
pp. 98117 – 98126

Abstract

Read online

Random numbers are widely used in numerical computing, statistical simulation, random sampling, etc. At present, the mechanism for generating random numbers by computers is at risk of being attacked. The generated random numbers may be predicted in some cases,. However, current RNGs used in blockchain are not sufficient enough to handle attacks. Therefore, it is necessary to improve the security of random numbers. This paper improves the random number generator and designs a secure random number generator based on blockchain (BCsRNG). In practice, an encapsulated function algorithm of the secure random number is developed with the smart contract. Moreover, an API is provided to facilitate input and output. The experimental results show that the random numbers generated by BCsRNG are difficult to decipher and have higher randomness and security.

Keywords