熟悉Java进来看下. 你是想找人帮你把Java转c#,你的题目起的不好,难怪没人理你,重开一题吧 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 C#有用来处理位数在64位以上的二进制数的?一般64位以下的用long或者int .NET doesn't have BigInteger class, but seeC# BigInteger Classhttp://www.codeproject.com/csharp/biginteger.aspif it can be approximated with long, try something likepublic static bool verify(String s, String s1) { String s2 = String.Empty; String s3 = String.Empty; String s5 = String.Empty; if(handler == null) handler = new YF201RSACipher(); //where is handler being used? long biginteger = Convert.ToInt64(s1); if(s.Length < 50) s2 = s; else s2 = s.Substring(0, 49); byte[] abyte0 = System.Text.Encoding.UTF8.GetBytes(s2); for(int i = 0; i < abyte0.Length ; i++) { String s4 = abyte0[i].ToString(); s5 += s4; } long biginteger1 = Convert.ToInt64(s5); return biginteger1 == (((long)Math.Pow(biginteger, e)) % n); //where are e and n defined? } treeview winform IP地址验证 求高手指点! Winform 软件问题 treeview 的内容更新不了 帮看一下。 请教一下 做一个字体选择框的相关的类 怎样将access中的某一个表导入到excel中,在不知道access表模式的情况下. 关于线程,线程池,线程计时器 有谁知道openwave 移动手机的编程。 怎么样实现picturebox中的图片变化。 每调用一次后程序所占用的资源都是有增无减,该怎么办呢? 如何反-反反编译????
C# BigInteger Class
http://www.codeproject.com/csharp/biginteger.asp
if it can be approximated with long, try something likepublic static bool verify(String s, String s1)
{
String s2 = String.Empty;
String s3 = String.Empty;
String s5 = String.Empty; if(handler == null)
handler = new YF201RSACipher(); //where is handler being used? long biginteger = Convert.ToInt64(s1); if(s.Length < 50)
s2 = s;
else
s2 = s.Substring(0, 49); byte[] abyte0 = System.Text.Encoding.UTF8.GetBytes(s2); for(int i = 0; i < abyte0.Length ; i++)
{
String s4 = abyte0[i].ToString();
s5 += s4;
} long biginteger1 = Convert.ToInt64(s5); return biginteger1 == (((long)Math.Pow(biginteger, e)) % n); //where are e and n defined?
}