packages feed

crypto-api 0.4 → 0.4.1

raw patch · 3 files changed

+11/−2 lines, 3 filesdep ~tagged

Dependency ranges changed: tagged

Files

Crypto/Modes.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-|  Maintainer: Thomas.DuBuisson@gmail.com  Stability: beta@@ -41,6 +42,10 @@ import Crypto.Random import System.Crypto.Random (getEntropy) import Control.Monad (liftM)+#if MIN_VERSION_tagged(0,2,0)+import Data.Proxy+#endif+  -- |Initilization Vectors for BlockCipher implementations (IV k) are used -- for various modes and guarrenteed to be blockSize bits long.  The common
Crypto/Random.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE FlexibleInstances, TypeSynonymInstances #-}+{-# LANGUAGE FlexibleInstances, TypeSynonymInstances, CPP #-} {-|  Maintainer: Thomas.DuBuisson@gmail.com  Stability: beta@@ -38,6 +38,10 @@ import Data.Bits (xor, setBit, shiftR, shiftL, (.&.)) import Data.List (foldl') import System.IO.Unsafe(unsafeInterleaveIO)++#if MIN_VERSION_tagged(0,2,0)+import Data.Proxy+#endif  -- |many generators have these error conditions in common data GenError =
crypto-api.cabal view
@@ -1,5 +1,5 @@ name:           crypto-api-version:        0.4+version:        0.4.1 license:        BSD3 license-file:   LICENSE copyright:      Thomas DuBuisson <thomas.dubuisson@gmail.com>, Dominic Steinitz (see Data.LargeWord module)