ghc-cryptohash-sha256 - Fast, pure and practical SHA-256 implementation

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename ghc-cryptohash-sha256-
Package name ghc-cryptohash-sha256
Package version
Package release 3.8
Package architecture x86_64
Package type rpm
Category Development/Libraries/Haskell
License BSD-3-Clause
Maintainer -
Download size 25.45 KB
Installed size 61.76 KB
A practical incremental and one-pass, pure API to the [SHA-256 cryptographic
hash algorithm]( according to [FIPS
180-4]( with performance close to the
fastest implementations available in other languages.
The core SHA-256 algorithm is implemented in C and is thus expected to be as
fast as the standard [sha256sum(1)
tool](; for instance, on an /Intel Core
i7-3770/ at 3.40GHz this implementation can compute a SHA-256 hash over 230 MiB
of data in under one second. (If, instead, you require a pure Haskell
implementation and performance is secondary, please refer to the [SHA
Additionally, this package provides support for
- HMAC-SHA-256: SHA-256-based [Hashed Message Authentication
Codes]( (HMAC) - HKDF-SHA-256:
[HMAC-SHA-256-based Key Derivation
Function]( (HKDF)
conforming to [RFC6234](,
[RFC5869](, et al..
=== Packages in the 'cryptohash-*' family
- < cryptohash-md5> -
< cryptohash-sha1> -
< cryptohash-sha256> -
< cryptohash-sha512>
=== Relationship to the 'cryptohash' package and its API
This package has been originally a fork of 'cryptohash-0.11.7' because the
'cryptohash' package had been deprecated and so this package continues to
satisfy the need for a lightweight package providing the SHA-256 hash algorithm
without any dependencies on packages other than 'base' and 'bytestring'.
The API exposed by 'cryptohash-sha256-0.11.*''s "Crypto.Hash.SHA256" module is
guaranteed to remain a compatible superset of the API provided by the
'cryptohash-0.11.7''s module of the same name.
Consequently, this package is designed to be used as a drop-in replacement for
'cryptohash-0.11.7''s "Crypto.Hash.SHA256" module, though with a [clearly
smaller footprint by almost 3 orders of


Package Version Architecture Repository
ghc-cryptohash-sha256- i586 openSUSE Oss
ghc-cryptohash-sha256 - - -


Name Value - - - - - - - - - -


Name Value
ghc-cryptohash-sha256 =
ghc-cryptohash-sha256(x86-64) = -


Type URL
Binary Package ghc-cryptohash-sha256-
Source Package ghc-cryptohash-sha256-

Install Howto

Install ghc-cryptohash-sha256 rpm package:

# zypper install ghc-cryptohash-sha256




2018-10-19 - Peter Simons <>
- Update Cabal build instructions to support ghc-8.6.1.
2018-07-18 -
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
2018-05-14 -
- Update cryptohash-sha256 to version revision 1.
- Add `hkdf` function providing HKDF-SHA256 conforming to RFC5869
- Declare `Crypto.Hash.SHA256` module `-XTrustworthy`
- Remove ineffective RULES
- Convert to `CApiFFI`
- Added `...AndLength` variants of hashing functions:
- `finalizeAndLength`
- `hashlazyAndLength`
- `hmaclazyAndLength`
- Minor optimizations in `hmac` and `hash`
2017-08-03 -
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
2017-04-09 -
- Update to version revision 1 with cabal2obs.
2016-07-10 -
- Update to version revision 0 with cabal2obs.
2016-05-27 -
- ghc-cryptohash-sha256 generated by st2obs scritpt

See Also

Package Description
ghc-cryptohash-sha256-devel- Haskell cryptohash-sha256 library development files
ghc-cryptohash-sha256-devel- Haskell cryptohash-sha256 library development files
ghc-cryptonite-0.25-3.8.i586.rpm Cryptography Primitives sink
ghc-cryptonite-0.25-3.8.x86_64.rpm Cryptography Primitives sink
ghc-cryptonite-conduit-0.2.2-3.15.i586.rpm Cryptonite conduit
ghc-cryptonite-conduit-0.2.2-3.15.x86_64.rpm Cryptonite conduit
ghc-cryptonite-conduit-devel-0.2.2-3.15.i586.rpm Haskell cryptonite-conduit library development files
ghc-cryptonite-conduit-devel-0.2.2-3.15.x86_64.rpm Haskell cryptonite-conduit library development files
ghc-cryptonite-devel-0.25-3.8.i586.rpm Haskell cryptonite library development files
ghc-cryptonite-devel-0.25-3.8.x86_64.rpm Haskell cryptonite library development files
ghc-data-default- A class for types with a default value
ghc-data-default- A class for types with a default value
ghc-data-default-class- A class for types with a default value
ghc-data-default-class- A class for types with a default value
ghc-data-default-class-devel- Haskell data-default-class library development files