Which AlgID do I use for generating an RSA keypair?-VBForums
Results 1 to 2 of 2

Thread: Which AlgID do I use for generating an RSA keypair?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2008
    Posts
    951

    Which AlgID do I use for generating an RSA keypair?

    If I want to create an key exchange RSA keypair with the Windows Crypto API, via the CryptGenKey function, which AlgID do I use? Do I use AT_KEYEXCHANGE, or do I use CALG_RSA_KEYX?

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    18,072

    Re: Which AlgID do I use for generating an RSA keypair?

    See RSA Public Key Encryption via CNG.

    If you must run on an unsupported OS then maybe you can reverse engineer that to use the old CryptoAPI.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.