working hash generator