CryptoSys PQC  0.9.0
The C++ (STL) interface to CryptoSys PQC.

An interface to diCrPQC.dll for C++ programmers using STL (C++11 or above).Requires CryptoSys PQC to be installed on your system, available from https://www.cryptosys.net/pqc/. In particular that diCrPQC.dll is in your library path.

Required files to compile in a C++ project:

crsyspqc.hpp
diCrPQC.h
crsyspqc.cpp
#include "diCrPQC.h"
#include "crsyspqc.hpp"
{main}.cpp
#include "crsyspqc.hpp"
int main() { ... }
The C++ (STL) interface to the CryptoSys PQC.

You must link to diCrPQC.lib. In MSVC++ IDE, use Project > Properties > Linker > Input > Additional Dependencies and add the full path to diCrPQC.lib. E.g.

Additional Dependencies = $(OutDir)diCrPQC.lib;%(AdditionalDependencies)

Using the command-line with MSVC:

CL test.cpp crsysapi.cpp /link ..\Debug\diCrPQC.lib

Using GCC (make sure the DLL has been compiled for target X64):

g++ -std=c++11 test.cpp crsyspqc.cpp "C:\fullpath\to\x64\Debug\diCrPQC.lib"
Copyright (C) 2024-25 D.I. Management Services Pty Limited t/a CryptoSys ABN 78 083 210 584 Australia. All rights reserved. <www.di-mgt.com.au> <www.cryptosys.net>. Generated on Sat May 3 2025 20:08:02 by Doxygen 1.9.1.