Cryptology ePrint Archive: Report 2013/768

VMPC-R Cryptographically Secure Pseudo-Random Number Generator Alternative to RC4

Bartosz Zoltak

Abstract: We present a new Cryptographically Secure Pseudo-Random Number Generator. It uses permutations as its internal state, similarly to the RC4 stream cipher. We describe a statistical test which revealed non-random patterns in a sample of $2^{16.6}$ outputs of a 3-bit RC4. Our new algorithm produced $2^{46.8}$ undistinguishable from random 3-bit outputs in the same test. We probed $2^{51}$ outputs of the algorithm in different statistical tests with different word sizes and found no way of distinguishing the keystream from a random source. The size of the algorithm's internal state is $2^{3424}$ (for an 8-bit implementation). The algorithm is cryptographically secure to the extent we were able to analyse it. Its design is simple and easy to implement. We present the generator along with a key scheduling algorithm processing both keys and initialization vectors.

Category / Keywords: secret-key cryptography / PRNG; CSPRNG, RC4; stream cipher; distinguishing attack

Date: received 20 Nov 2013

Contact author: bzoltak at vmpcfunction com

Available format(s): PDF | BibTeX Citation

Version: 20131125:191157 (All versions of this report)

Discussion forum: Show discussion | Start new discussion


[ Cryptology ePrint archive ]