.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Steve Jackman
Imran Ghani
Santhakumar Munuswamy

Home >> Forum >> VB.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Password Encryption and Description in dot net window application..

Posted By: Ajesh Rawat     Posted Date: March 03, 2010    Points:2   Category :VB.Net
I want to create a login form in vb dot net window application.
Backend oracle..
I want to Password Encryption and Description user name and password..
can any one can help for free algo with code.

Responses
Author: Faizal             
Posted Date: March 04, 2010     Points: 5   

Hi,

You can refer this article to encrypt and decrypt password.

http://www.dotnetspark.com/kb/512-encryption-and-decryption-with-querystring.aspx

Author: Dilip             
Posted Date: April 04, 2010     Points: 5   

Why dont you use this way
------------------------------


To Encrypt
=============================
public static string Encrypt(string sStringToEncrypt)
{
return Convert.ToBase64String(sStringToEncrypt);
}


To Decrypt
====================
public static string Decrypt(string sStringToEncrypt)
{
byte[] bDataString = Convert.FromBase64String(sStringToEncrypt);
return System.Text.ASCIIEncoding.ASCII.GetString(bDataString);
}

Regards
Dilip


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend