hello... I am trying to convert some code over to .NET CORE and am having trouble converting the code below... is basically hashes a password using SHA512Managed... can anyone please assist???? on the internet all I have been able to find is old conflicting information, and I guess that makes sense with all of this changing so much and constantly... thank you
using (SHA512 shaM = new SHA512Managed())
{
userPassword.Password = shaM.ComputeHash(Encoding.UTF8.GetBytes(saltedPassword));
}
hello... I am trying to convert some code over to .NET CORE and am having trouble converting the code below... is basically hashes a password using SHA512Managed... can anyone please assist???? on the internet all I have been able to find is old conflicting information, and I guess that makes sense with all of this changing so much and constantly... thank you
using (SHA512 shaM = new SHA512Managed())
{
userPassword.Password = shaM.ComputeHash(Encoding.UTF8.GetBytes(saltedPassword));
}