Missing MD5

I upgraded from RealSoftware Studio to XOJO. I opened an application I had created us RS. This application used MD5. I opened it in XOJO and it says MD5 class does not exist. Anyone know why?

Thanks

Try…

MsgBox Crypto.MD5("hash me")

You need to append “Crypto.” in front of MD5.

Thanks Alwyn, you got me pointed to this.

ok,

So in XOJO this no longer works.
Dim md5h As new MD5
md5h.Update “Hello World”
MsgBox md5h.Final

but this does

MsbBox MD5(“Hello World”)

MD5 is a function, not a class. MD5Digest is a class.

Neither of these things changed between RS2012r4.2 and Xojo.

Your syntax from above looks like the MD5 class included with the Einhugur plugins, so make sure you install those plugins for Xojo.

[quote=44653:@Paul Lefebvre]MD5 is a function, not a class. MD5Digest is a class.

Neither of these things changed between RS2013r4.2 and Xojo.

Your syntax from above looks like the MD5 class included with the Einhugur plugins, so make sure you install those plugins for Xojo.[/quote]

do you mean RS2012R4.2 (I dont know of a 2013R4.2)?

Yeah. Typo. I’ve fixed my post.