Preskoči na sadržaj
Moj profil

izvorni znanstveni rad · 2025

Format-preserving-encryption as pseudo random number generator in practice

Vlado Sruk

Sažetak

During many years of work in the industry, we have often encountered the problem of generating a large quantity of unique pseudo-random numbers. In this paper, we describe the challenges of generating a large quantity of unique pseudo-random numbers and propose a new approach to address this issue. Our proposed method uses Format Preserving Encryption (FPE) algorithms, which solve the problem of pre-generating a large number of numbers and verifying whether a newly generated number has already been generated. Ultimately, we found that generating such numbers using FPE algorithms is faster than using system functions to generate pseudo-random numbers. However, this is not the most crucial advantage of this proposal. In the standard approach, the time required to generate new numbers increases exponentially as the pool of generated numbers grows. Our proposed approach using FPE algorithms solves this problem. In this work, we performed a quality check of our pseudo-random number generator using the Diehard Statistical Test Suite, demonstrating that all tests passed without issues.

Ključne riječi

Format Preserving Encryption Pseudo Random Number Generator Diehard Statistical Test