Windows APP Secured Login

Hi how i can add to my app over mysql a secured login betwen mysql and my xojo app for example now i login to my xojo app with the next code but the problem is i want to add a convert string to md5 to the retrive the md5 password in the xojo app
dim rs as RecordSet

rs=ibssts.SQLSelect(“SELECT * FROM usuarios”)
if TXT_Tarjeta.text=rs.Field(“NoTarjeta”).StringValue and PW_Clave.Text=rs.Field(“clave”).StringValue Then
HistorialAcceso
CorreoNotificacion
TXT_Tarjeta.Text = NoTarjetaGlobal.ToText
Supervisor.Show
Else
MsgBox(“La informacion es incorrecta favor intente de nuevo o llame al 829.234.7779.”)
end if

rs.Close
_