CalculateSHA512Hash() public static method

public static CalculateSHA512Hash ( string input ) : string
input string
return string
Example #1
0
 /// <summary>
 /// Create a SHA2-512 hash of a text input.
 /// This 128 character hash is recommended for the most secure password encryption.
 /// </summary>
 /// <param name="password">A text to create a hash (often a password).</param>
 /// <returns>The 128 character hex SHA512 Hash.</returns>
 public static Primitive SHA512Hash(Primitive password)
 {
     return(StringEncryption.CalculateSHA512Hash(password));
 }