Partitioning cryptanalysis