Click or drag to resize

HashesiStringHash Method

This function returns hash of supplied string in hexadecimal format.

Namespace:  TreeksLicensingLibrary2
Assembly:  TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (
public string iStringHash(
	string hash_type,
	string text,
	string salt = ""


Type: SystemString
Hash algorithm to use: md5, sha1, sha256, sha512
Type: SystemString
String to be hashed
salt (Optional)
Type: SystemString
Optional salt to be added to hashed text to prevent rainbow attacks

Return Value

Type: String
Hash result represented in hexadecimal format
The "i" named functions are here to allow access to static members in COM applications. In .NET applications you can call static methods directly and don't need to instantiate this class.
See Also