The SwiftRNG entropy-server is a Windows based pipe server that uses a duplex named pipe for distributing random bytes generated by a single SwiftRNG (entropy-cl-server is for using multiple SwiftRNG devices). Windows applications, written in languages such as C/C++, C#, Java, Delphi, VBA can concurrently access entropy-server or entropy-cl-server directly through the named pipe (see Fig. 1). For SwiftRNG source code examples visit this address.

Entropy Server Diagram

Entropy Server API operates based on request and response byte streams. To request data from SwiftRNG device using the entropy server, the application should fill the 64 bit request with command (CMD) and amount of requested random bytes (REQBYTES). The prepared request should be sent out to a named pipe using Little Endian Byte Order, all 8 request bytes should be sent at once.

SwiftRNG Entropy Server API request structure

Entropy Server Diagram