Cryptanalysis algorithms