vhd 0.2.1 → 0.2.2
raw patch · 3 files changed
+9/−2 lines, 3 filesdep ~base
Dependency ranges changed: base
Files
- Data/Vhd/Const.hs +6/−0
- Data/Vhd/Crypt.hs +1/−1
- vhd.cabal +2/−1
+ Data/Vhd/Const.hs view
@@ -0,0 +1,6 @@+module Data.Vhd.Const+ ( sectorLength+ ) where++sectorLength :: Num a => a+sectorLength = 512
Data/Vhd/Crypt.hs view
@@ -15,7 +15,7 @@ import Data.Bits (shiftR) import Data.Vhd.Types (VirtualBlockAddress(..), BlockByteAddress(..)) import Crypto.Hash.SHA256 (hash)-import Crypto.Cipher.AES+import Crypto.Cipher.AES (AES, initAES, encryptXTS, decryptXTS) import System.FilePath import System.Directory import qualified Data.ByteString as B
vhd.cabal view
@@ -1,5 +1,5 @@ Name: vhd-Version: 0.2.1+Version: 0.2.2 Synopsis: Provides functions to inspect and manipulate virtual hard disk (VHD) files. Description: Provides functions to inspect and manipulate virtual hard disk (VHD) files, according to the VHD specification (version 1.0). Author: Jonathan Knowles, Vincent Hanquez@@ -40,6 +40,7 @@ Data.Vhd.Bat Data.Vhd.Batmap Data.Vhd.Crypt+ Data.Vhd.Const Data.Vhd.Bitmap Data.Vhd.Block Data.Vhd.Checksum