lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Shmuel Zeigerman wrote:
[snip]
Whether this behavior is due to the md5 algorithm, or is this an implementation fault?

After studying the source code, it seems to me that the observed behavior is fully normal, and is due to the small length of the text being encrypted (1 byte).

So I'd advise to just remove this test (md5 library v1.1.2, test.lua, line 78) from the file. Or (alternatively), to specify the seed explicitly.

--
Shmuel