-- Initial pkcs7.cabal generated by cabal init. For further documentation, -- see http://haskell.org/cabal/users-guide/ -- The name of the package. name: pkcs7 -- The package version. See the Haskell package versioning policy (PVP) -- for standards guiding when and how versions should be incremented. -- http://www.haskell.org/haskellwiki/Package_versioning_policy -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change version: 1.0.0.1 -- A short (one-line) description of the package. synopsis: PKCS #7 padding in Haskell -- A longer description of the package. description: Implements PKCS #7 padding. This implements the PKCS #7 padding scheme. This scheme is defined in . Strings will be padded out to multiples of the block size; for example, a 5-byte string with an 8-byte block size will have three bytes of padding added. If the length is already a multiple of the block size, an entire block size worth of padding is added. The padding bytes are all set to the number of padding bytes. Returning to the previous example, the padding string would be three bytes of the byte 0x03. Unpadding checks the length and padding, and if this is valid, strips off the padding. -- URL for the project homepage or repository. homepage: https://github.com/kisom/pkcs7 -- The license under which the package is released. license: MIT -- The file containing the license text. license-file: LICENSE -- The package author(s). author: K. Isom -- An email address to which users can send suggestions, bug reports, and -- patches. maintainer: coder@kyleisom.net -- A copyright notice. -- copyright: category: Crypto build-type: Simple -- Extra files to be distributed with the package, such as examples or a -- README. extra-source-files: README.md -- Constraint on the version of Cabal needed to build this package. cabal-version: >=1.10 library -- Modules exported by the library. exposed-modules: Crypto.Data.PKCS7 -- Modules included in this library but not exported. -- other-modules: -- LANGUAGE extensions used by modules in this package. -- other-extensions: -- Other library packages from which modules are imported. build-depends: base >4.5 && <5 , bytestring >= 0.10 && < 1.0 -- Directories containing source files. hs-source-dirs: src -- Base language which the package is written in. default-language: Haskell2010 -- configuration for Unit tests and properties test-suite test-pkcs7 type: exitcode-stdio-1.0 main-is: Main.hs other-modules: Crypto.Data.PKCS7 hs-source-dirs: test, src default-language: Haskell2010 build-depends: base >4.5 && <5 , bytestring >= 0.10 && < 1.0 , QuickCheck >=2.8 && < 3.0 , HUnit >= 1.2 && < 2.0 , Cabal >= 1.16 && < 1.30 source-repository head type: git location: https://github.com/kisom/pkcs7