Parallel brute force: Difference between revisions

Content added Content deleted
Line 816: Line 816:


chunks :: [[TestString]]
chunks :: [[TestString]]
chunks = chunksOf (10^6) $ replicateM 5 [97..122]
chunks = chunksOf (10^3) $ replicateM 5 [97..122]


findMatch :: [TestString] -> [(Encrypted, Decrypted)]
findMatch :: [TestString] -> [(Encrypted, Decrypted)]