Hi all,
I have a .net code which converts a string "test" to md5Hash.This byte[] hash is then converted into base64String.Following is the snippet of .net code:
MD5CryptoServiceProvider md5Hasher = new MD5CryptoServiceProvider();
UTF8Encoding encoder = new UTF8Encoding();
byte[] hash = md5Hasher.ComputeHash(encoder.GetBytes("test"));
Convert.ToBase64String(hash)
I want the same for iPhone. I am able to convert md5 to string and this string to base64encoded. But this value differs from what we get in .net code. Is their any method which can convert the md5 hash directly into base64 like Convert.ToBase64String(hash) for iPhone
i have stuck up on this from last 3 days. Please help me this is really very urgent.
Regards, Sanket