Exemple #1
0
        public ActionResult generatePassword()
        {
            var randomString = SecurePasswordHasher.RandomString(10);
            var hash         = SecurePasswordHasher.Hash(randomString);

            return(RedirectToAction("CreateChat"));
        }