Computes the hash value for the specified phrase. The hash size for the SHA512 algorithm is 384 bits.
Namespace:
NetQuarry.Security
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string ToSHA384(
string phrase,
string salt
)
Public Shared Function ToSHA384 (
phrase As String,
salt As String
) As String
Parameters
- phrase
- Type: SystemString
The input to compute the hash code for. - salt
- Type: SystemString
The salt to add to the string to be hashed for security.
Return Value
Type:
StringThe computed hash as a base-64 encoded string.
See Also