I would like to store passwords in my Lua 5.1 application. For example as an MD5 hash. I managed to do that with luacrypto. I wish to continue my developing on a server which doesn't have the crypto C library installed which luacrypto depends on, so I cannot use luacrypto here. Is it possible to do hash encrypting in a Lua-only manner? On the Lua wiki I saw an article: it is possible with Lua 5.2. Can I switch to Lua 5.2 and still use Lua modules/libs that are written for Lua 5.1? (luasocket, coxpcall, copas) Any tips are welcome.
Have a nice day, :-)