public ActionResult Index() { string password = Common.doPost("password"); if (password != null) { Member _member = new Member("users"); string[] pwd = password.Split(new string[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries); ArrayList value = new ArrayList(); foreach (String tmp in pwd) { value.Add(_member.password(tmp)); System.Threading.Thread.Sleep(50); } ViewBag.encrypt = String.Join("\r\n", value.ToArray()); } ViewBag.password = password; return View(); }