Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

MD5MBS(data as string) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Encryption and Hash MBS Encryption Plugin 3.2 Yes Yes Yes Yes No
Function: Returns the MD5 message digest value of a string.
Example:
// Compare RB5 MD5 to the one from MBS

dim a,b as String

a=MD5("Hallo")

b=MD5MBS("Hallo")

msgbox str(StrComp(a,b,0))
Notes: Same as the MD5 function in RB5.

Some examples using this method:

Feedback, Comments & Corrections

MD5StringMBS(data as string) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Encryption and Hash MBS Encryption Plugin 10.0 Yes Yes Yes Yes No
Function: Returns the MD5 message digest value of a string as hex string.
Example:
// Compare RB5 MD5 to the one from MBS

dim a,b as String

a=EncodingToHexMBS(MD5("Franz jagt im komplett verwahrlosten Taxi quer durch Bayern"))
b=MD5StringMBS("Franz jagt im komplett verwahrlosten Taxi quer durch Bayern")

msgbox a+EndOfLine+b+EndOfLine+str(StrComp(a,b,0))

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Encryption Plugin.




Links
MBS Xojo Plugins