GPL-2.0-or-later licensed by Herbert Valerio Riedel
Maintained by https://github.com/haskell-hvr/xor
This version can be pinned in stack with:xor-0.0.1.1@sha256:a549b0ba9dfa4b4e8f2c8fbc5ba4a1c046050879d074a754dc2b78e14b28fe5e,3003

Module documentation for 0.0.1.1

Used by 1 package in nightly-2022-12-03(full list with versions):

This package provides efficient implementations of routines for applying bitwise XOR masks to binary data.

The currently supported operations (see Data.XOR API documentation for more details) are applying

  • 8-bit wide XOR masks or

  • 32-bit wide XOR masks

to binary data represented by

  • Strict ByteStrings,

  • Lazy ByteStrings,

  • ShortByteStrings (i.e. ByteArray#s), or

  • CStringLen (i.e. Ptrs).

The performance is comparable to portable ISO C99 implementations but this library is implemented as pure Haskell and is thereby compatible with compile targets such as GHCJS.

Changes

0.0.1.1

Andreas Abel, 2022-02-16

  • Allow GHC 9.0 and 9.2.
  • Allow bytestring-0.11 for GHC ≥ 8.
  • Tested with GHC 7.4 - 9.2.

0.0.1

Herbert Valerio Riedel, 2020-05-17

Initial release.