replaced depricated crypto:md5 with erlang:md5