Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The procedure for encoding a general message is as follows.
To encode a message
This procedure results in an encoded message of a type specified in the function calls.
The procedure for decoding a general message is as follows.
To decode a message
For an example that implements these steps, see Example C Program: Encoding and Decoding Data. For procedures and an example demonstrating the process of encoding, decoding, and verifying the signature of a signed message, see Example C Program: Signing, Encoding, Decoding, and Verifying a Message.
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayTraining
Module
Deploy Microsoft Purview Message Encryption - Training
Deploy Microsoft Purview Message Encryption
Documentation
Using Cryptography - Win32 apps
The following topics provide information about using cryptography.
Encoding and Decoding - Win32 apps
Lists a procedure and an example that demonstrate how to encode and decode messages.
Acquiring a Cryptographic Context and Generating Keys - Win32 apps
Lists the sample programs for acquiring a cryptographic context and generating keys.