Before I found a small code piece to easily secure data in .Net; I've always felt a little disturbed when sending my query strings and information like user names, passwords etc. to other pages in ASP.Net without Encrypting/Decrypting my UserName/Passwords in databases. The code is written below.
Simple copy and paste it to any class in Visual basic project form and start using it.
dim objHash as new Hashing
dim strEncryptedText as string=““
strEncryptedText = objHash.encrypt(“TextToEncrypt“)
dim strDecryptedText as string
strDecryptedText = objHash.Decrypt (strEncryptedText)
Hashing Class is written below in the code example
Yasir Attiq Butt