Is MD5 supported on Windows Phone 7?

I am porting some compact framework code that uses the RESTful service for Windows Phone 7. The REST service requires hash signatures and the md5 method.

This code (which worked in NETCF) no longer compiles, and I do not see anything related to MD5 in the object browser.

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

Is md5 not supported in WP7?

+6
windows-phone-7 md5
source share
2 answers

A quick Google search shows that some cryptography classes are not supported in any version of Silverlight. One of them is MD5CryptoServiceProvider.

You can use this MD5 implementation for Silverlight on Windows Phone 7.

+11
source share

AES is supported on phone 7. If you need MD5, you need to look elsewhere.

+1
source share

All Articles