4
Reply

Password Encryption

Isham Khan

Isham Khan

Aug 27 2015 3:53 PM
353
 
I use this code for encryption of password,, Now i need the reverse of this that convert Hash to Plain Text plx help
 
byte[] data = Encoding.Unicode.GetBytes(password);
SHA1 algorithm = SHA1.Create();
byte[] hash = algorithm.ComputeHash(data);
string base64 = Convert.ToBase64String(hash);

Answers (4)