W
Wrecked
hello,
I am a bit new to .net and .net CF. My doubt is wether
System.Security.Cryptography is also supported in CF.
when i include the following code in a normal project and built it..
it didnt give me any errors
using System;
using System.Security.Cryptography;
namespace Encrypt
{
public class Encrypt
{
public byte[] MsgDigest5(byte[] msg)
{
byte[] data = msg;
MD5 md5 = new MD5CryptoServiceProvider();
byte[] result = md5.ComputeHash(data);
return result;
}
}
}
however when i include the above code for a windows smart phone device
(CF) and built, it tells me "The type or namespace name 'MD5' could
not be found (are you missing a using directive or an assembly
reference?) ". Does this mean that MD5 is not supported in .net cf or
is there anything wrong with the code i have written.
Thanks and Regards
Rithesh
I am a bit new to .net and .net CF. My doubt is wether
System.Security.Cryptography is also supported in CF.
when i include the following code in a normal project and built it..
it didnt give me any errors
using System;
using System.Security.Cryptography;
namespace Encrypt
{
public class Encrypt
{
public byte[] MsgDigest5(byte[] msg)
{
byte[] data = msg;
MD5 md5 = new MD5CryptoServiceProvider();
byte[] result = md5.ComputeHash(data);
return result;
}
}
}
however when i include the above code for a windows smart phone device
(CF) and built, it tells me "The type or namespace name 'MD5' could
not be found (are you missing a using directive or an assembly
reference?) ". Does this mean that MD5 is not supported in .net cf or
is there anything wrong with the code i have written.
Thanks and Regards
Rithesh