English 中文(简体)
Windows Phone 7是否支持MD5?
原标题:Is MD5 supported on Windows Phone 7?

我正在将一些使用RESTful服务的紧凑框架代码移植到WindowsPhone7。REST服务需要md5哈希和方法签名。

这段代码(在NETCF上工作)不再编译,在对象浏览器中也看不到任何与MD5相关的内容。

MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider();
buffer = md5.ComputeHash(buffer);

WP7上是否不支持md5?

最佳回答

快速谷歌搜索显示,某些加密类在任何Silverlight版本中都不受支持。其中之一是MD5CryptoServiceProvider。

您可以使用此MD5实现适用于Windows Phone 7上的Silverlight

问题回答

AES在Phone 7上受支持。如果您需要MD5,则需要查找其他





相关问题
Can two different strings generate the same MD5 hash code?

For each of our binary assets we generate a MD5 hash. This is used to check whether a certain binary asset is already in our application. But is it possible that two different binary assets generate ...

What is hash exactly?

I am learning MD5. I found a term hash in most description of MD5. I googled hash , but I could not find exact term of hash in computer programming. Why are we using hash in computer ...

Help with DOS script (grab specific data from a file)

I need to grab just the md5 value from a file and make it a variable which I can use to compare to another md5 value. The problem is this file looks like this: a7393f772e34ca16a5854e80d9ec6704 md5 ...

Make md5 strong

Im making a website that will intergrate with game that only support md5 hashing metod (atm). Which ofc is not especially safe anymore. But how could i make it stronger? Should I just generate long ...

question on MD5 state variables

I am studying MD5 algorithm. I found out that there are four state variables (I am not sure what that means). Those variables are 0x67452301 , 0xEFCDAB89, 0x98BADCFE, and 0x10325476. I converted ...

Is there a way to test if a string is an MD5 hash?

I am trying to input a text file that contains MD5 hashes and keywords (one per line) into a C# app. Is there a way to check if a string is an MD5 hash? I looked on MSDN and couldn t find anything ...

热门标签