Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 78745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:02:08+00:00 2026-05-10T21:02:08+00:00

I need a standard, Microsoft delivered, encryption library that works for both .NET 2.0

  • 0

I need a standard, Microsoft delivered, encryption library that works for both .NET 2.0 and C++. What would you suggest?

We find that AES is only offered in .NET 3.5 (and available in C++)

We find that Rijndael is used in .NET 2.0 but not available in the standard C++ libraries.

If I am wrong (very good chance), can you point me in the right direction?

Worst case scenario, I suppose I can call the Rijndael algorithm from .NET using PInvoke but I would rather have a native solution.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T21:02:08+00:00Added an answer on May 10, 2026 at 9:02 pm

    We successfully do a similar thing that I hope might help you:

    C++ CryptoAPI

    • CryptoAPI is pure Win32 (c/c++), native to all Microsoft OS’s.
    • Use Enhanced Cryptographic Provider (MS_ENHANCED_PROV)
    • Use Triple DES (CALG_3DES) algorithm

    .NET TripleDes Provider

    • Use TripleDESCryptoServiceProvider on the .NET side.

    Side Notes

    • We avoid CAPICOM like the plague as the deployment nightmares that come with it are not worth the hassle.
    • Byte order on the .NET side can come into play at times. For example, to consume a key that is generated on the C++ (CryptoAPI) side, you need to reverse the byte array prior to using it within the TripleDESCryptoServiceProvider.

    If you would like more details please leave a comment and I can give more. Happy crypto!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can standard pointers in .Net do this? Or does one need to resort to
What does Pro have that's not in Standard (or vice-versa)? I need Visual Studio
I understand Outlook only partially conforms to the standard. Does Microsoft have a published
I need to deserialize a complex JSON blob into standard .NET containers for use
I need to parse .PEM files. I know that the standard for Privacy-enhanced Electronic
I need to replace the standard Overflow function in a ToolStrip to a More...
I need to send a very specific (non-standard) string to an FTP server: dir
I need to purchase SQL Server 2008 Standard edition, because it's features fit what
I need to calculate averages, standard deviations, medians etc for a bunch of numerical
We need to implement a simple state machine in C . Is a standard

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.