Beginings of hash breaking function