Changed erlang:phash to crypto:hash