Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
These articles provide example code for common Universal Windows Platform (UWP) cryptography tasks, such as creating random numbers, comparing buffers, converting between strings and binary data, copying to and from byte arrays, and encoding and decoding data.
| Topic | Description |
|---|---|
| Create random numbers | This example code shows how to create a random number or buffer for use in cryptography in a WinUI app. |
| Compare buffers | This example code shows how to compare buffers in a WinUI app. |
| Convert between strings and binary data | This example code shows how to convert between strings and binary data in a WinUI app. |
| Copy to and from byte arrays | This example code shows how to copy to and from byte arrays in a WinUI app. |
| Encode and decode data | This example code shows how to encode and decode base64 and hexadecimal data in a WinUI app. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Windows developer