stupid cryptanalysis tools in Haskell