SHA 1.0.2 → 1.0.3
raw patch · 2 files changed
+7/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Data.Digest.Pure.SHA: instance Show Digest
Files
- Data/Digest/Pure/SHA.hs +3/−0
- SHA.cabal +4/−4
Data/Digest/Pure/SHA.hs view
@@ -30,6 +30,9 @@ -- | An abstract datatype for digests. newtype Digest = Digest ByteString deriving (Eq,Ord) +instance Show Digest where+ show = showDigest+ -- -------------------------------------------------------------------------- -- -- SHA-1
SHA.cabal view
@@ -1,13 +1,13 @@ name: SHA category: Cryptography, Codec-version: 1.0.2+version: 1.0.3 license: BSD3 license-file: LICENSE author: Adam Wick <awick@galois.com> maintainer: Adam Wick <awick@galois.com> stability: stable build-type: Simple-cabal-version: >= 1.2+cabal-version: >= 1.6 tested-with: GHC ==6.8.0 synopsis: Implementations of the SHA suite of message digest functions description: This library implements the SHA suite of message digest functions,@@ -19,12 +19,12 @@ Library build-depends: base >= 3, bytestring exposed-modules: Data.Digest.Pure.SHA- GHC-Options: -O2 -Wall -fno-ignore-asserts+ GHC-Options: -O2 -Wall -fno-ignore-asserts -funbox-strict-fields extensions: CPP, BangPatterns Executable test_sha build-depends: base >= 3, bytestring, QuickCheck >= 1 && < 2- GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans + GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans -funbox-strict-fields cpp-options: -DSHA_TEST Main-Is: Test.hs Other-Modules: Data.Digest.Pure.SHA