hash generator.