Changed old crypto:sha to new crypto:hash to be able to compile on newer Erlang versions