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
Output Summary In this article you learned that how to perform Encryption