Is there a pure lua implementation of the md5 hashing algorithm? One that doesn\'t rely on any c or external libraries? There\'s javascript implementations that don\'t rely
I've refined @Adam Baldwin's solution and made a library that calculates md5 sums in pure Lua, with no external dependencies and no C:
https://github.com/kikito/md5.lua
Summary of changes:
md5.sum
and md5.sumhex
, that work exactly like their counterparts in the Kepler library, but are implemented in Lua alone.For now I don't need md5.crypt
and md5.decrypt
, so I have not implemented those. But I will accept pull requests :)