public string EnPas(string CodeStr)
{
int codeLen = 30;
int codeSpace = codeLen - CodeStr.Length;
string newCode;
string returnStr = "";
string CodeString = CodeStr;
int cecr;
int cecb;
int cec;
if (codeSpace >= 1)
{
for (cecr = 1; cecr <= codeSpace; cecr++)
{
CodeString += (char)21;
}
}
newCode = "1";
//long neCode = 1;
long been;
for (cecb = 1; cecb <= codeLen; cecb++)
{
been = Convert.ToInt64(codeLen) + Convert.ToInt64((long)(Convert.ToChar(CodeString.Substring(cecb - 1, 1)))) * cecb;
newCode = cheng(newCode, Convert.ToString(been));
}
//newCode = Convert.ToString(neCode);
CodeString = quling(newCode);
newCode = "";
for (cec = 0; cec < CodeString.Length; cec++)
{
if (cec < CodeString.Length - 3)
{
newCode += CfsCode(CodeString.Substring(cec, 3));
}
else
{
newCode += CfsCode(CodeString.Substring(cec, CodeString.Length - cec));
//Response.Write(CodeString.Substring(cec, CodeString.Length - cec));
//Response.Write("<BR>");
} }
for (cec = 20; cec < newCode.Length - 16; cec += 2)
{
returnStr += newCode.Substring(cec - 1, 1);
}
return returnStr;
}
2: CodeString = quling(newCode);
3: newCode += CfsCode(CodeString.Substring(cec, 3));
这几个方法是干什么的,有代码不?总不能让我们猜吧