I am currently updating a web site to authenticate from a HashBytes SHA2_512 SALT combination password.
My problem is that once I do this all my current users will no longer be able to login with their existing HashBytes SHA2_512 password.
Is there a way to decrypt(update) via SQL the current HashBytes SHA2_512 password with a HashBytes SHA2_512 SALT combination password.
Here's is an example of my select to verify.
//current which will no longer work once i have updated the page
SELECT intcustomerid, strUserName, strUserPassword
FROM dbo.tblLoginControl WHERE strUserName = 'Dave' AND strUserPassword =HashBytes('SHA2_512', 'Rice205H*!')
//new one once I have update the page
SELECT [AccountName], [AccountPwd]
FROM [dbo].[SecurityAccounts] WHERE [AccountName]= 'Dave' AND [AccountPwd] =HashBytes('SHA2_512', [Salt] + 'Rice205H*!')
So I need to take the existing password and update with Salt.
I'm not sure if this can be done and the only workaround would be to email my users and ask them to request a new password from the site?
Thanks.