This is based on the LW4.4 port of MD5 by Dmitriy Ivanov, with some modernizations and fixes/updates for newer LW.