Random Number Generation with Sine Computation in Intel x86 Assembly
Primary Faculty Mentor’s Name
Angkul Kongmunvattana
Session Format
Oral (max. 15 minutes)
Abstract
Random number generation has become an important subject in a wide variety of disciplines due to its application in various technologies, such as electronic gambling/gaming, statistical sampling of data, computer modeling and simulation, data encryption, and cryptanalysis, among several others. The contemporary techniques usually rely on the system clock from the computing device itself to generate a random number. In this work, we explored a different approach based on the computation of Sine function of an ascending number representing the radian. The implementation was carried out in Intel x86_64 assembly programming language using both integer and floating-points registers as well as the machine instructions. The results demonstrated that we can successfully generate several thousands of random numbers without repeated patterns.
Keywords
random number generation, Sine function, integer registers, floating-points registers, Intel x86_64
Presentation Year
2017
Publication Type and Release Option
Event
Random Number Generation with Sine Computation in Intel x86 Assembly
Random number generation has become an important subject in a wide variety of disciplines due to its application in various technologies, such as electronic gambling/gaming, statistical sampling of data, computer modeling and simulation, data encryption, and cryptanalysis, among several others. The contemporary techniques usually rely on the system clock from the computing device itself to generate a random number. In this work, we explored a different approach based on the computation of Sine function of an ascending number representing the radian. The implementation was carried out in Intel x86_64 assembly programming language using both integer and floating-points registers as well as the machine instructions. The results demonstrated that we can successfully generate several thousands of random numbers without repeated patterns.