コード例 #1
0
ファイル: User.cs プロジェクト: michal-korniak/MiniCloud
        public void SetPassword(string password)
        {
            var encrypterService = new EncryptService();

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