A Haskell implementation of a DES-type cipher