Introduction

The cryptography classes provided by the BCL should be reason enough for any programmer dealing with cryptography to add .NET support to their existing MFC applications. What in the past has taken you literally hundreds of lines of code and endless hours of debugging can now be achieved in a few minutes with a couple of lines of code using the various types found in the System::Security::Cryptography namespace. This namespace includes support for all the most common symmetric, asymmetric, and hash algorithms; providing a robust and flexible object-oriented interface to the powerful Microsoft CryptoAPI.

In this chapter, you will not only be introduced to several of these classes, but you will also see complete hands-on demos for creating ...

Get Extending MFC Applications with the .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.