The AlphaRNG software kit contains pre-built utilities and components for 64-bit Windows. This page explains how to build the utilities and components from the supplied source code.

Locating the source code

The latest source code for Windows can be downloaded from the latest release on GitHub.

Required tools and dependencies

OpenSSL for Windows x64

The supplied source code requires OpenSSL-Win64 version 1.1.1j or newer. It can be downloaded from the Win32/Win64 OpenSSL page, in the Download Win32/Win64 OpenSSL section.

Visual Studio

The solution is built with Visual Studio 2019 or newer.

Environment variables

Set the following environment variables:

  • OPENSSL_INSTALL_DIR: the directory where OpenSSL-Win64 was installed, for example C:\Program Files\OpenSSL-Win64
  • LIBCRYPTO: the name of the crypto library file; set it to libcrypto

Building the source code

In Visual Studio, open the windows-x64\AlphaRNG.sln solution, choose x64 as the solution platform, and build the solution.