Ruby implementation of the telehash protocol