Parallel brute force: Difference between revisions

Content added Content deleted
Line 753: Line 753:
</ul>
</ul>
<br/>
<br/>
<lang haskell>import Crypto.Hash (hashWith, SHA256 (..), Digest, digestFromByteString)
<lang haskell>{-# LANGUAGE OverloadedStrings #-}

import Crypto.Hash (hashWith, SHA256 (..), Digest, digestFromByteString)
import Control.Monad (replicateM, join)
import Control.Monad (replicateM, join)
import Control.Monad.Par (runPar, get, spawnP)
import Control.Monad.Par (runPar, get, spawnP)