.NET经验心得探讨社区  
请在这里用键盘敲打出属于你的地位!
        public static string Encode3(string data)
        {
            string Pwd = "";
            byte[] bytes = System.Text.Encoding.ASCII.GetBytes(data);
            for (int i = 0; i < bytes.Length; i++)
            {
                //Console.WriteLine(bytes[i].ToString());
                Pwd += bytes[i].ToString();
            }
            return Pwd;
        }
posted on 2006-09-04 17:12  苦涩的咖啡  阅读(346)  评论(0编辑  收藏  举报