--- Log opened Mon Feb 18 00:00:35 2019 20190218 03:32:23<+wesdiscordbot> Yeah definitely. I am unfamiliar with LUA though so I can either add you as a contributor to the repository or you could tell me where to put the code 😃 20190218 03:36:11<+wesdiscordbot> Lua is still not an acronym 20190218 04:16:52-!- gfgtdf [~Daniel@x4d081b58.dyn.telefonica.de] has quit [Ping timeout: 244 seconds] 20190218 04:36:27<+wesdiscordbot> Sorry Lua Uppercase Accident 😉 20190218 04:51:49-!- celticminstrel is now known as celmin|sleep 20190218 07:23:45-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20190218 07:25:16-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Client Quit] 20190218 07:26:58-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20190218 08:02:18< vn971> if performance difference of 0-50% is not an issue, almost anything like md5 is probably pretty easy to find/do in Lua as well. 20190218 08:03:13< vn971> Since it's a popular programming language, you can just take any library out there in the wild and use it. No need to write from scratch in WML or whatever other custom environment. 20190218 08:04:10< vn971> Like this: https://github.com/kikito/md5.lua 20190218 08:04:19<+wesdiscordbot> MD5 is designed to be a cryptographically secure hash algorithm. It's overkill for this purpose. 20190218 08:05:06< vn971> First google result. 84 github forks, 157 stars, reasonably maintained and probably rock solid. 20190218 08:05:10<+wesdiscordbot> More suitable algorithms are listed here: https://stackoverflow.com/q/114085 20190218 08:06:19<+wesdiscordbot> For example, FNV-1a is just five lines of code, and trivial to port to any language. 20190218 08:06:48< vn971> jyrkive: not "cryptographically secure" though. Just a hash algo. There are vulnerabilities and known collisions. Even "preimage vulnerability". 20190218 08:07:19<+wesdiscordbot> Right, but you don't need to worry about that when you're only using the hash to find the right voide acting clip. 20190218 08:07:48< vn971> Anyway, whatever you can find in google by searching "lua my_hash_algo" probably works just fine.) 20190218 08:08:05< vn971> jyrkive: true, agree.:) 20190218 14:08:27-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [] 20190218 14:43:22-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20190218 23:13:57-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 272 seconds] --- Log closed Tue Feb 19 00:00:36 2019