xor: Efficient XOR masking

[ codec, data, gpl, library ] [ Propose Tags ]

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.

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.1.0, 0.0.1.1, 0.0.1.2
Dependencies base (>=4.5 && <4.15), bytestring (>=0.10.4 && <0.11), ghc-byteorder (>=4.11.0.0 && <4.12) [details]
License GPL-2.0-or-later
Copyright © 2020 Herbert Valerio Riedel
Author Herbert Valerio Riedel
Maintainer hvr@gnu.org
Category Data, Codec
Bug tracker https://github.com/hvr/xor/issues
Source repo head: git clone https://github.com/hvr/xor.git
Uploaded by HerbertValerioRiedel at 2020-05-17T22:26:31Z
Distributions LTSHaskell:0.0.1.2, NixOS:0.0.1.2, Stackage:0.0.1.2
Reverse Dependencies 1 direct, 2 indirect [details]
Downloads 1569 total (22 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-05-17 [all 1 reports]