Hello,
I am using the following to hash a string:
public static string Hash(string text) {
MD5CryptoServic eProvider crypto = new
MD5CryptoServic eProvider();
byte[] hash = null;
UTF8Encoding encoder = new UTF8Encoding();
hash = crypto.ComputeH ash(encoder.Get Bytes(text));
return hash.ToString() ;
} // Hash
I debugged it but I still get a byte and I can't see the hashed
string ...
What am I missing?
Thanks,
Miguel
I am using the following to hash a string:
public static string Hash(string text) {
MD5CryptoServic eProvider crypto = new
MD5CryptoServic eProvider();
byte[] hash = null;
UTF8Encoding encoder = new UTF8Encoding();
hash = crypto.ComputeH ash(encoder.Get Bytes(text));
return hash.ToString() ;
} // Hash
I debugged it but I still get a byte and I can't see the hashed
string ...
What am I missing?
Thanks,
Miguel
Comment