Share via

Using Microsoft cryptographic API

Swanand 101 Reputation points
Apr 22, 2022, 9:48 AM

I am using Visual studio and developing application. I come across Bcrypt.h header - Win32 apps | Microsoft Learn Microsoft cryptographic library.

I would like to know If there any additional license cost of using this library or we can use it as part of normal SDK. Is there any patent or cost using this library in our application?

I also observe some cryptographic algorithms like Ed25519 and curve25519 interfaces are not present in above library. Any reason for it?

Any recommendation from where we can use those API?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,749 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jeanine Zhang-MSFT 11,261 Reputation points Microsoft External Staff
    Apr 25, 2022, 3:11 AM

    Hi,

    Welcome to Microsoft Q&A!

    I would like to know If there any additional license cost of using this library or we can use it as part of normal SDK. Is there any patent or cost using this library in our application?

    As far as I'm concerned you could use this library for free.

    I also observe some cryptographic algorithms like Ed25519 and curve25519 interfaces are not present in above library. Any reason for it?

    CNG provides support for curve25519.

    I suggest you could refer to the following docs:
    1,Cryptography API: Next Generation
    2,CNG Named Elliptic Curves

    Any recommendation from where we can use those API?

    For more details about cryptographic, I suggest you could start from the Docs: Cryptography and Security and Identity

    Best Regards,

    Jeanine


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Swanand 101 Reputation points
    Apr 26, 2022, 8:22 AM

    Thank you!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.