GPL-2.0-or-later licensed by Herbert Valerio Riedel
Maintained by Andreas Abel
This version can be pinned in stack with:xor-0.0.1.3@sha256:d984851954298e2b01365110953e13d1a0221c3f158c440aeb63c316b89fdab1,2564

Module documentation for 0.0.1.3

Used by 1 package in nightly-2024-09-15(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.3

Andreas Abel, 2024-06-25

  • Drop support for GHC 7.
  • Tested with GHC 8.0 - 9.10.

0.0.1.2

Andreas Abel, 2023-07-19

  • Use copyBytes for deprecated memcpy as suggested by bytestring-0.11.5.
  • Tested with GHC 7.4 - 9.6.

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.