Cryptographic Provider Development Kit

    Registration Required

    You must register to receive this download.Please click the Continue button to register.

    Welcome to Microsoft Cryptographic Provider Development Kit (CPDK) Version 8.0.
    • Version:


      File Name:


      Date Published:


      File Size:

      945 KB

        The CPDK contains documentation and code to help you develop cryptographic providers targeting the Windows Vista, Windows Server 2008, Windows 7 and Windows 8 Operating Systems. This development kit is an updated version of the Cryptographic Next Generation Software Development Kit (CNG SDK).
        The header files, library files, samples and documentation provided in this release are subject to change, and may be updated in the future.

        What's New in v8.0
        This release of the kit highlights the following changes:
        • Support for creating two new types of CNG providers, Key Derivation Function providers and Key Protection Providers.
        • Added Kernel Mode provider sample.
        • Code samples which demonstrate how to use the CNG API have been moved to the Windows SDK.
        • Samples have been updated for Visual Studio 2011.
        • Documentation on how to implement a CAPI CSP and the required header and library files have also been included in the kit.

        The Windows CPDK documentation contains API reference topics; task-based and how-to documentation. The Search bar, Index, Table of Contents, and the navigational topics in the documentation viewer are all available to help you locate the topics you need.

        The Windows CPDK provides header files, libraries, and source code in the C/C++ language. All CPDK source code is installed to the "Program Files\Windows Kits\8.0\Cryptographic Provider Development Kit" directory.

        Tools and Build Environments
        In order to build the sample applications, you will need the Windows SDK. If you plan to build a kernel-mode provider like the BCRYPT client sample, you also need the Windows Device Driver Kit. The Microsoft website explains how to get the WDK: How to Get the Windows Driver Kit (WDK) .
        In order to test the performance and implementation of your provider you may want to use the following test tools:
        Cngbvt.exe: Validates algorithm implementations by calling the BCrypt APIs, with test data and validates the inputs and outputs.
        Cryptoperf.exe: Measures the performance of the algorithm implementations.

        Note: These tools are located in the Windows 8 version of the Windows Hardware Certification Kit and not the CPDK.
    • Supported Operating System

      Windows 8

        You must have Visual Studio 2011 in order to build the samples.

        The CNG code contained in this CPDK is designed to work on Windows Vista, Windows Server 2008, Windows 7, Windows 8. Those features that only work on a certain Windows version are called out in the documentation.
      • You must uninstall previous Windows CNG SDK instances before installing this version.

        By default, the kit will install itself on "%SYSTEMDRIVE%\Program Files\Windows Kits\8.0\Cryptographic Provider Development Kit" on x86 platforms and "%SYSTEMDRIVE%\Program Files(x86)\ Program Files\Windows Kits\8.0\Cryptographic Provider Development Kit" on 64-bit platforms.

        We highly recommend that you have your machine fully patched through Microsoft Update before beginning setup.

    Popular downloads

      • 01

        DirectX End-User Runtime Web Installer

        The Microsoft DirectX® End-User Runtime provides updates to 9.0c and previous versions of DirectX — the core Windows® technology that drives high-speed multimedia and games on the PC.

      • 02

        Malicious Software Removal Tool

        This tool checks your computer for infection by specific, prevalent malicious software (including Blaster, Sasser, and Mydoom) and helps to remove the infection if it is found. Microsoft will release an updated version of this tool on the second Tuesday of each month.

      • 03

        Microsoft Security Essentials

        Microsoft Security Essentials provides real-time protection for your home or small business PC that guards against viruses, spyware, and other malicious software.

      • 05

        Windows 7 Upgrade Advisor

        Download and run the Windows 7 Upgrade Advisor to see if your PC is ready for Windows 7. It scans your hardware, devices, and installed programs for known compatibility issues, gives you guidance on how to resolve potential issues found, and recommends what to do before you upgrade.

    Loading your results, please wait...

    Free PC updates

    • Security patches
    • Software updates
    • Service packs
    • Hardware drivers

    Microsoft Suggests

    Windows 10. The best Windows ever.
    Windows 10
    The best Windows ever.
    Upgrade for free*