I have this code to generate SHA512 code and i need help to decrypt it:

private string SHA512(string Pass_word)
        SHA512Managed SHA512 = new SHA512Managed();
        byte[] Hash = System.Text.Encoding.UTF8.GetBytes(Pass_word);
        Hash = SHA512.ComputeHash(Hash);
        StringBuilder sb = new StringBuilder();
        foreach(byte b in Hash)
        return sb.ToString();

please it's important, and thank you.

  • 2
    $\begingroup$ You cannot decrypt hashes, you can just try and guess the input, e.g. using a dictionary attack or rainbow table. $\endgroup$ – Maarten - reinstate Monica Nov 11 at 12:48

Browse other questions tagged or ask your own question.