-
-
[求助]windows mobile 6怎样实现sha256
-
发表于:
2009-6-13 10:31
5445
-
[求助]windows mobile 6怎样实现sha256
在PC平台的一个程序想转到wm6上来。其中要使用sha256.
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Security.Cryptography;
public string sha256(string iText)
{
SHA256 sha = new SHA256Managed();
return BitConverter.ToString(sha.ComputeHash(Encoding.Default.GetBytes(iText))).Replace("-", "").ToLower();
}
下面这句
SHA256 sha = new SHA256Managed();
提示错误
错误 1 找不到类型或命名空间名称“SHA256”(是否缺少 using 指令或程序集引用?)
版主及各位高手有办法解决吗?
[课程]Android-CTF解题方法汇总!