Windows CryptoAPI and Cryptography API: Next Generation for Delphi
This code was originally written 06.10.2013 by vanilla (http://vanillasky-room.cocolog-nifty.com/blog/2013/10/cryptoapi-and-c.html) and dual licensed under MPL / LGPL.
CryptoAPI:
Winapi.WinCrypt.pas (wincrypt.h)
CNG:
Winapi.BCrypt.pas (bcrypt.h)
Winapi.NCrypt.pas (ncrypt.h)
Winapi.NCryptProtect.pas (ncryptprotect.h)
Winapi.SslProvider.pas (sslprovider.h)
Bonus: SSPI (Security Support Provider Interface):
Winapi.Sspi.pas (sspi.h)
Winapi.Schannel.pas (minschannel.h, schannel.h)
Delphi 2010 or later is required. Use at your own risk.