Introduction Here in this article we are discussing that how can you Encrypt your password or any string by selecting any of the cryptography Algorithm Either by SHA1 or MD5. The implementing of this example needs to import System.web.Security namespace and you will also add four controls as two TextBox, Button, DropDownList and a Label control. You will select Algorithm for Encryption from DropDownList. The namespace will be inherited by Forms Authentication class in which you will get the HashPasswordForStoringInConfigFile method. This method is used for the conversion of password or any string into Encrypted format.Getting Started
How to perform Encryption with SHA1 and MD5 in VB.NET
How to implement HMACSHA1 one way algorithm in VB.NET