packages feed

uuid-crypto 1.2.0.0 → 1.3.0.0

raw patch · 3 files changed

+5/−7 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

changes.md view
@@ -1,3 +1,6 @@+# 1.3.0.0+    - Fix decryption+ # 1.2.0.0     - Pad plaintext before encryption, allowing encryption of payloads shorter than 128 bits 
src/Data/UUID/Cryptographic.hs view
@@ -66,9 +66,4 @@            , Binary a            , MonadThrow m            ) => CryptoIDKey -> CryptoUUID namespace -> m a-decrypt = Poly.decrypt $ check . decodeOrFail . toByteString-  where-    check (Left _) = throwM DeserializationError-    check (Right (rem, _, res))-      | Lazy.ByteString.all (== 0) rem = return res-      | otherwise = throwM InvalidNamespaceDetected+decrypt = Poly.decrypt $ return . Lazy.ByteString.toStrict . toByteString
uuid-crypto.cabal view
@@ -1,5 +1,5 @@ name: uuid-crypto-version: 1.2.0.0+version: 1.3.0.0 cabal-version: >=1.10 build-type: Simple license: BSD3