Erlang implementation of xxhash