xor: Efficient XOR masking
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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
ByteString
s,Lazy
ByteString
s,ShortByteString
s (i.e.ByteArray#
s), orCStringLen
(i.e.Ptr
s).
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.
Properties
Versions | 0.0.1.0, 0.0.1.1, 0.0.1.1, 0.0.1.2, 0.0.1.3 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.5 && <4.17), bytestring (>=0.10.4 && <0.12), 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 | https://github.com/haskell-hvr/xor |
Category | Data, Codec |
Bug tracker | https://github.com/haskell-hvr/xor/issues |
Source repo | head: git clone https://github.com/hvr/xor.git |
Uploaded | by AndreasAbel at 2022-02-16T16:39:10Z |
Modules
[Index] [Quick Jump]
- Data
Downloads
- xor-0.0.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees