@hackage xor0.0.1.0
Efficient XOR masking
Categories
License
GPL-2.0-or-later
Maintainer
hvr@gnu.org
Links
Versions
Installation
Dependencies (3)
- base >=4.5 && <4.15
- bytestring ^>=0.10.4
- ghc-byteorder ^>=4.11.0.0 Show all…
Dependents (1)
@hackage/http-io-streams
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), orCStringLen(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.