CryptoSys API  6.22.1
The C++ (STL) interface to the CryptoSys API.

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

Required files to compile in a C++ project:

crsysapi.hpp
diCryptoSys.h
crsysapi.cpp
#include "diCryptoSys.h"
#include "crsysapi.hpp"
{main}.cpp
#include "crsysapi.hpp"
int main() { ... }
The C++ (STL) interface to the CryptoSys API.

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

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

Using the command-line with MSVC:

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

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

g++ -std=c++11 test.cpp crsysapi.cpp "C:\fullpath\to\x64\Debug\diCryptoSys.lib"
Copyright © 2001-24 D.I. Management Services Pty Limited ABN 78 083 210 584 Australia. All rights reserved. <www.di-mgt.com.au> <www.cryptosys.net>. Generated on Sat Jan 6 2024 18:00:07 by Doxygen 1.9.1.