CryptographyGetHash(String, HashAlgorithm) Method |
Creates a hash of a string using a specified hashing algorithm.
Namespace: InnerDrive.CoreAssembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.0.8475.0
Syntax public static string GetHash(
string rawText,
HashAlgorithm hashingAlgorithm
)
Parameters
- rawText String
- The string to hash.
- hashingAlgorithm HashAlgorithm
- The hash provider to use.
Return Value
StringA
String containing the hexadecimal hash.
Exceptions See Also