Erlang implementation of Telehash