Building a Simple Encryption Application

At this point, to get some hands-on experience working with these functions, we'll take a look at two sample applications. Both of these applications will use the Crypto API functionality you've looked at. They both will use a symmetric key derived from a user-entered password. The first application will use this password to encrypt and then decrypt a message the user has entered. Following this exercise will give you a first-hand look at how encryption actually works.

As you are building these applications, you'll also start building an encryption class that encapsulates the Crypto API functionality. You will be able to take this class and use it in subsequent applications with minimal changes (most likely ...

Get Developing Secure Applications with Visual Basic 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.