Encodes a string using the MD5 algorithm. The result is a string that comprises 32 hexadecimal digits.
WebAPI.bdh
WebMD5Encode( out sResult : string, in nMaxResult : number, in sToEncode : string ): boolean;
true if the encoding was successful
false otherwise
| Parameter | Description |
|---|---|
| sResult | String variable that receives the result. This string variable must be at least 33 characters long. |
| nMaxResult | Size of the specified string variable. |
| sToEncode | String that is to be encoded. |
dcltrans transaction TMain var sResult: string; begin WebMD5Encode(sResult, STRING_COMPLETE, "Password"); Print(sResult); end TMain;