Hi Tom!

You wrote:
> There must be a bug in the tohex() function I wrote in common.lua.
>
> The actual md5() function in lua returns the md5sum in straight binary so
> I wrote a little tohex() function, but it must mess up a leading zero.

I had some probs with your md5-password algorithm, too and discoverd a
little bug in the format part in the tohex() function:

Your version is:
r=r..format("%x",strbyte(strsub(s,i,i)))

It should read :
r=r..format("%02x",strbyte(strsub(s,i,i)))

Don't forget to update the standard Password in nex version of tomsrtbt ...
;-)

greets, Andi



Reply via email to