Exemple #1
0
        public void SetPassword(string password)
        {
            var encrypterService = new EncryptService();

            Salt           = encrypterService.GenerateSalt();
            HashedPassword = encrypterService.Compute(password, Salt);
        }