simple tool to generate a random hash