Generates URL-friendly MD5 hash with the specified length. Note: if parameter length is equal to zero, the original hash will be returned. Specifying any other length increases the risks of colisions and should be used only in specific situations.
Namespace: MonoSoftware.Core.CryptographyAssembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)
Syntax
C# |
---|
public static string GenerateUrlFriendlyMd5Hash(
string value,
string salt,
int length
) |
Visual Basic |
---|
Public Shared Function GenerateUrlFriendlyMd5Hash (
value As String,
salt As String,
length As Integer
) As String |
Visual C++ |
---|
public:
static String^ GenerateUrlFriendlyMd5Hash(
String^ value,
String^ salt,
int length
) |
F# |
---|
static member GenerateUrlFriendlyMd5Hash :
value : string *
salt : string *
length : int -> string
|
Return Value
Type:
StringHashed string.
See Also