-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrncryptor.cabal
More file actions
134 lines (126 loc) · 2.97 KB
/
Copy pathrncryptor.cabal
File metadata and controls
134 lines (126 loc) · 2.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
name: rncryptor
version: 0.3.0.2
synopsis: Haskell implementation of the RNCryptor file format
description: Pure Haskell implementation of the RNCrytor spec.
license: MIT
license-file: LICENSE
author: Alfredo Di Napoli
maintainer: alfredo.dinapoli@gmail.com
category: Network
build-type: Simple
tested-with: GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.4, GHC == 9.6.6
cabal-version: >=1.10
flag fastpbkdf2
description: Use fastpbkdf2 instead of cryptonite for PBKDF2.
default: True
source-repository head
type: git
location: https://github.com/adinapoli/rncryptor-hs
library
exposed-modules:
Crypto.RNCryptor.Padding
Crypto.RNCryptor.V3
Crypto.RNCryptor.V3.Encrypt
Crypto.RNCryptor.V3.Decrypt
Crypto.RNCryptor.Types
other-modules:
Crypto.RNCryptor.V3.Stream
build-depends:
base >=4.6 && < 5
, bytestring >= 0.9.0
, mtl >= 2.1
, random >= 1.0.0.1
, QuickCheck >= 2.6 && < 3.0
, io-streams >= 1.2.0.0
, cryptonite >= 0.15
, memory
if flag(fastpbkdf2)
build-depends: fastpbkdf2
cpp-options: -DFASTPBKDF2
hs-source-dirs:
src
default-language:
Haskell2010
ghc-options:
-funbox-strict-fields
test-suite rncryptor-tests
type:
exitcode-stdio-1.0
main-is:
Main.hs
other-modules: Tests
PasswordBasedVectors
hs-source-dirs:
test
default-language:
Haskell2010
build-depends:
rncryptor -any
, base
, bytestring
, QuickCheck
, tasty >= 0.9.0.1
, tasty-quickcheck
, tasty-hunit
, io-streams
, base16-bytestring >= 1.0.0.0
, cryptonite
, text
, bytestring-arbitrary >= 0.1.0
executable rncryptor-decrypt
build-depends:
base
, bytestring
, cryptonite >= 0.15
, io-streams
, rncryptor -any
hs-source-dirs:
example
main-is:
StreamingDecrypter.hs
default-language:
Haskell2010
ghc-options:
-funbox-strict-fields
executable rncryptor-decrypt-simple
build-depends:
base
, bytestring
, cryptonite >= 0.15
, io-streams
, rncryptor -any
hs-source-dirs:
example
main-is:
DecrypterSimple.hs
default-language:
Haskell2010
ghc-options:
-funbox-strict-fields
executable rncryptor-encrypt
build-depends:
base
, bytestring
, io-streams
, cryptonite >= 0.15
, rncryptor -any
hs-source-dirs:
example
main-is:
StreamingEncrypter.hs
default-language:
Haskell2010
ghc-options:
-funbox-strict-fields
benchmark store-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
hs-source-dirs:
bench
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2 -threaded -rtsopts -with-rtsopts=-N1 -with-rtsopts=-s -with-rtsopts=-qg
build-depends:
base >=4.6 && <5
, bytestring >= 0.10.4.0
, criterion
, rncryptor
default-language: Haskell2010