Wishnu Prasetya <[EMAIL PROTECTED]> writes:

| Is there somewhere a Haskell library for words and bitwise operations on
| words (like XOR, shifts, bit permutations)? (bitwise operations are used
| a lot in cryptography)

nhc13 comes with such a library.  See
    http://www.cs.york.ac.uk/fp/nhc13/libs/Bit.html
It is implemented using GreenCard, so it should be reasonably portable
to ghc and Hugs.

For cryptographic applications, you might also be interested in
nhc13's Binary library which gives more general unbounded bit-stream
operations.  This Binary library is also available for ghc.

Regards,
    Malcolm

--
  The nhc13 Haskell compiler:         http://www.cs.york.ac.uk/fp/nhc13/


Reply via email to