Building a File Encryption/Decryption Utility

Now that you have a basic, functional ability to encrypt and decrypt messages, let's take this process one step further. For the next sample application, you'll build an application that encrypts and decrypts files. Not only will this application encrypt and decrypt files, but it will also include a hash of the decrypted file in the encrypted file, enabling the application to determine whether a file has been modified or tampered with since being encrypted.

Making Additional Declarations

To start this second sample application, start another standard EXE project. Name the project FileEncryption and the default form frmFileEncrypt. Just like with the last application, at this point, you can turn your ...

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.