Skip to content

where is SHA512Managed in .NET CORE? #1287

@giancarloa

Description

@giancarloa

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));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions