There are many ways to decrypt encrypted text or data. In this tutorial, I'm using DESCryptoServiceProvider class to encrypt and decrypt strings using the cryptographic service provider version of the Triple Data Encryption Standard algorithm. The use encryption to protect secret data and to make data unreadable by unauthorized users. In this tutorial I'm going to use the existing project from the previous tutorial Write An Encrypted Text File . Check this tutorial to see how to write an encrypted text file. And today I will modify the previous tutorial and add a methods to read an encrypted file. Procedure Download the previous project at Write An Encrypted Text File . Rename the project to ReadEncryptedFileVB . Load the project and open the FormMain then add new CommandButton and set the name property to ButtonReadFile and set the text property to Read Encrypted File . Resize the button to display the text property. Set the ButtonWrite text property to ...