OnWorks favicon

BEDBUG CSPRNG Stream Cipher download for Windows

Free download BEDBUG CSPRNG  Stream Cipher Windows app to run online win Wine in Ubuntu online, Fedora online or Debian online

This is the Windows app named BEDBUG CSPRNG Stream Cipher whose latest release can be downloaded as BEDBUG1.3.1-exe.zip. It can be run online in the free hosting provider OnWorks for workstations.

Download and run online this app named BEDBUG CSPRNG Stream Cipher with OnWorks for free.

Follow these instructions in order to run this app:

- 1. Downloaded this application in your PC.

- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.

- 3. Upload this application in such filemanager.

- 4. Start any OS OnWorks online emulator from this website, but better Windows online emulator.

- 5. From the OnWorks Windows OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.

- 6. Download the application and install it.

- 7. Download Wine from your Linux distributions software repositories. Once installed, you can then double-click the app to run them with Wine. You can also try PlayOnLinux, a fancy interface over Wine that will help you install popular Windows programs and games.

Wine is a way to run Windows software on Linux, but with no Windows required. Wine is an open-source Windows compatibility layer that can run Windows programs directly on any Linux desktop. Essentially, Wine is trying to re-implement enough of Windows from scratch so that it can run all those Windows applications without actually needing Windows.





BEDBUG is a small, fast, cryptographically secure pseudo-random number generator (CSPRNG) and stream cipher. It exhibits uniform distribution, mixes rapidly (with worst-case avalanche better than 16-bits), has no detected bias, and comes in three variants: BEDBUG128, with an internal state array of 128+3 32-bit words; BEDBUG256, with an internal state of 256+3 words; and BEDBUG512 with a 512+3-word state. The former permit seeding with a key of up to 4096 or 8192 bits, the latter with a 16384-bit key.

The BEDBUG generator itself is a mere 5 lines of code: Three rotations; two pseudo-random lookups.

The default BEDBUG configuration alternates the rotation constants unpredictably. These four sets of three values differ between BEDBUG128, BEDBUG256 and BEDBUG512 and were selected, tuned and tested in each case for optimal avalanche, which is never less than 16.5 bits.

BEDBUG has passed stringent industry-standard tests for randomness, including NIST and DIEHARD.


  • Fast and cryptographically secure random number streams
  • Tuned rotation constants bring rapid mixing (more than 16.5 bits avalanche)
  • Rotation constants switched unpredictably on each round of the generator
  • Seedable with keys up to 4096, 8192, or 16384 bits in length
  • Extremely long periods: Guaranteed to be well in excess of 2**512
  • The essential RNG can be coded in just 5 lines of C
  • BEDBUG has passed the most stringent industry-standard tests: NIST and DIEHARD
  • Implemented identically in C and Pascal, with full source code and sample programs
  • Includes the MOTET Cipher & SE Scrambler, a fast encryption program in C
  • Package includes comprehensive test results for all BEDBUG variants
  • Test BEDBUG yourself: several PRNG test programs are included in the distribution


Science/Research, Education, Developers, Other Audience, Security, Engineering

User interface

X Window System (X11), Win32 (MS Windows), Console/Terminal, Command-line

Programming Language

C, Free Pascal


Communications, Cryptography, Education

This is an application that can also be fetched from https://sourceforge.net/projects/bedbug-csprng-stream-cipher/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.

Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Free Servers & Workstations

Download Windows & Linux apps