コード例 #1
0
ファイル: UserLogin.aspx.cs プロジェクト: 78526Nasir/EBuy
        private string retriveSaltedHash()
        {
            User user = new User(txtUsername.Text);

            ECommerceBusiness ecb = new ECommerceBusiness
            {
                UserObj = user
            };

            string takeSalt = ecb.RetriveSaltAgainstUser();
            string takeHash;

            if (takeSalt != null)
            {
                takeHash = generateTempHashWithSalt(takeSalt);
            }
            else
            {
                takeHash = null;
            }

            return(takeHash);
        }