The entropy-server
is a Windows based pipe server
that uses a duplex named pipe for distributing random bytes generated by a single AlphaRNG device
(similar to SwiftRNG devices). Windows applications, written in languages such as C/C++, C#, Java, VBA e.t.c, can concurrently access entropy-server
directly through the named pipe. For source code examples visit this address.
Information on Entropy Server API can be found at this location.
The entropy-server
can be started using the following command:
entropy-server.exe -e
The output may look like this:
Entropy server started using device 'Alpha True RNG ' with S/N: F0383F99E34084B and Ver: 1.0
By default, the entropy-server
can handle up to 10 concurrent named pipe connections.
The following example demonstrates how to start the entropy-server
and allow up to 50 concurrent connections:
entropy-server.exe -e -i 50
To start the entropy-server
in a non-secure mode, simply type:
entropy-server.exe -e -c none
A complete list of commands and options available with entropy-server
can be retrieved using the following command:
entropy-server.exe -h
The availability and performance of the entropy-server
can be verified with entropy-client-test
utility using the following command:
entropy-client-test.exe
The output may look like this:
-------- Testing connectivity to the entropy server using named pipes ------
-------- Testing connectivity to the entropy server using named pipes ------
Connecting to the entropy server pipe .............................. SUCCESS
Retrieving server version .............................................. 1.2
Retrieving device identifier ............................... DFCD660A9525E89
Retrieving device model ..................................... Alpha True RNG
Retrieving device version .............................................. 1.0
Retrieving 100000 bytes of entropy from device ..................... SUCCESS
Extracting 100000 bytes of entropy using SHA-256 method ............ SUCCESS
Extracting 100000 bytes of entropy using SHA-512 method ............ SUCCESS
Retrieving 100000 bytes of noise from device source 1 .............. SUCCESS
Retrieving 100000 bytes of noise from device source 2 .............. SUCCESS
Running pipe communication diagnostics ............................. SUCCESS
Running pipe communication diagnostics using 50 threads ............ SUCCESS
Calculating minimum entropy download speed ...................... 40 Mbps
Calculating maximum entropy download speed ...................... 200 Mbps
Pre-built versions of entropy-server
and entropy-client-test
applications are already
available in the latest release.
Alternatively, the applications can be re-built from sources with Visual Studio 2019 or newer.