Remember me on this computer
Don't have a login? Register!

Server status
Cannot connect to the QRBG status server.
Available from: http://random.irb.hr:8000/
Cumulative server statistics
Failed to query the QRBGS database!
Since: Thursday, June 14, 2007 18:08:31.
*Cumulative statistics is updated once a day.

Press Kit
QRBG logo
» download
QRBG user banner
» download
QRBG Server Poster
» download
QRBG Service paper
Quantum Random Bit Generator Service for Monte Carlo and Other Stochastic Simulations (PDF, 433 KiB)
» download
» how to cite?
QRBG Device paper
Quantum random number generator based on photonic emission in semiconductors (PDF, 110 KiB)
» download
News (click to expand)
The work on QRBG Service has been motivated by scientific necessity (primarily of local scientific community) of running various simulations (in cluster/Grid environments), whose results are often greatly affected by quality (distribution, nondeterminism, entropy, etc.) of used random numbers. Since true random numbers are impossible to generate with a finite state machine (such as today's computers), scientists are forced to either use specialized expensive hardware number generators, or, more frequently, to content themselves with suboptimal solutions (like pseudo-random numbers generators).

The Service has begun as a result of an attempt to fulfill the scientists' needs for quality random numbers, but has now grown to a global (public) high-quality random numbers service.

Design requirements for our service were:

  1. true randomness of data served (high per-bit-entropy of served data)
  2. high speed of data generation and serving
  3. high availability of the service (including easy and transparent access to random data,
  4. great robustness of the service, and
  5. high security for users that require it.

So far, all these features, except the last one, have been implemented.
And the solution developed tops other currently available random number acquisition methods (including existing Internet services) in at least one of the numbered categories.

To ensure high-quality of the supplied random numbers (true randomness) and high speed of serving, we have used fast non-deterministic, stand-alone hardware number generator relying on photonic emission in semiconductors. The used Quantum Random Bit Generator was previously developed at Rudjer Boskovic Institute, in Laboratory for Stochastic Signals and Process Research (for details, see below).
To achieve high availability of the service, several network access modes are developed, or shall be developed. These include transparent acquisition of random numbers using C/C++ libraries, web services (access over the SOAP protocol), and Mathematica/MATLAB client add-ons.
To enable high security, in future, SSL protocol shall be supported, i.e. all data shall be encrypted, at users request, with user/service certificates.

If you are interested in more details, you can find them in my paper: "Quantum Random Bit Generator Service for Monte Carlo and Other Stochastic Simulations." (download)

Please feel free to register, download the client of your preference (from the Download section) and start using the service!

Randomness Source
We use 'Quantum Random Bit Generator' (QRBG121), which is a fast non-deterministic random bit (number) generator whose randomness relies on intrinsic randomness of the quantum physical process of photonic emission in semiconductors and subsequent detection by photoelectric effect. In this process photons are detected at random, one by one independently of each other. Timing information of detected photons is used to generate random binary digits - bits. The unique feature of this method is that it uses only one photon detector to produce both zeros and ones which results in a very small bias and high immunity to components variation and aging. Furthermore, detection of individual photons is made by a photomultiplier (PMT). Compared to solid state photon detectors the PMT's have drastically superior signal to noise performance and much lower probability of appearing of afterpulses which could be a source of unwanted correlations.
Read more at the product page: http://qrbg.irb.hr/.
Description Platform Type Size
C++ library (and a few QRBG client examples) [v0.31, 2007-07-19]
Note 1: Compiles under Visual Studio and g++.
Note 2: You must edit the code and change logon credentials (username, password) to be able to access the Service.
Windows/Linux/Mac source files 16.19 KiB
Windows Dynamic Link Library for C and C++ [v0.2, 2008-04-01]
Note 1: Both debug and release versions are included.
Note 2: Usage examples from both C and C++ are included (However, you must edit the code and change logon credentials (username, password) to be able to access the Service.)
Windows dll/lib/h + sample source 413.64 KiB
QRBG Toolbox for MathWorks MATLAB [v0.31, 2007-07-19]
Note 1: For installation instructions see readme.txt file in the archive.
Windows/MATLAB dll/m 43.83 KiB
QRand Command-line Utility [v0.2, 2007-07-17]
Note 1: Compiles under Visual Studio and g++.
Note 2: Windows executable included.
Note 3: GNU Linux executable included.
Note 4: See user-contributed downloads for Mac OS X executables.
Windows/Linux/Mac source + exe 86.41 KiB
User-contributed Downloads
(Re)distributed with the permission of authors, without warranty of any kind.
Description Platform Type Size
Java Access Class
Note 1: qrbg-java-1: (c) 2007 Jeroen Rakhorst (The Netherlands)
Note 2: qrbg-java-2: (c) 2007 Wu Yu
Note 3: qrbg-java-3: (c) 2007 Brendan Burns
Note 4: update of qrbg-java-3 (bugfix): (c) 2011 Ryan Eisele
Windows/Linux/Mac source (+ bytecode) 11.28 KiB
17.56 KiB
3.73 KiB
3.87 KiB
Python Access Class
Note 1: qrbg.py: (c) 2007 Brendan Burns.
Note 2: Patch: (c) 2011 Guilherme H. Polo Goncalves. [2011-04-04]
Windows/Linux/Mac source file 5.43 KiB
5.72 KiB
PHP Access Class [2009-03-20]
Windows/Linux/Mac source file 12.54 KiB
MATLAB/Octave Linux Utility ('qrand' implementation)
Note 1: This implementation should fill in the gap until the official QRBG MATLAB Toolbox for Linux is released.
Note 2: Uses the cross-platform QRand Command-line Utility.
Linux source 3.29 KiB
QRand Command-line Utility, compiled for Mac OS X
Note 1: XCode project and compiled cross-platform version of the QRand Utility for Mac OS X.
Mac source + exe (PowerPC & Intel) 1.13 MiB
C# library (sample app and DLL included) [v0.1, 2007-08-28]
Note 1: Author used Microsoft .NET 2.0 framework.
Note 2: Both Windows and Linux version are available.
Windows/Linux source + exe 557.15 KiB
576.21 KiB
Erlang client [2012-07-31]
Note 1: Available only from code.google.com server.
Note 2: Available from GitHub.
Windows/Linux source n/a
Delphi client [2008-02-22]
Note 1: Check the source files for a copyright note.
Windows source + exe 476.60 KiB
Perl client [2010-06-12]
Note 1: Available from CPAN.
Windows/Linux source n/a
Go client [2011-08-17]
Note 1: Available from GitHub.
Linux source n/a
Coming soon...
  • Microsoft Windows QRand Utility with GUI.
  • Wolfram Mathematica QRBG add-on (Windows/Linux)
  • Mathworks MATLAB QRBG Toolbox for Linux
  • Web Service Access