blob: ac8f8a2dd3760dbbc850aedc7675dc915793e3f4 (
plain) (
blame)
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
|
{ cabal, binary, cryptoApi, cryptoPubkeyTypes, DRBG
, monadcryptorandom, pureMD5, QuickCheck, SHA, tagged
, testFramework, testFrameworkQuickcheck2
}:
cabal.mkDerivation (self: {
pname = "RSA";
version = "2.0.0";
sha256 = "1v2d6sxpqr0lmiqdr3ym5qzp3p1y57yj6939vdlsac6k6ifj6pwq";
isLibrary = true;
isExecutable = true;
buildDepends = [
binary cryptoApi cryptoPubkeyTypes DRBG monadcryptorandom pureMD5
QuickCheck SHA tagged testFramework testFrameworkQuickcheck2
];
testDepends = [
binary cryptoApi cryptoPubkeyTypes DRBG pureMD5 QuickCheck SHA
tagged testFramework testFrameworkQuickcheck2
];
doCheck = false;
meta = {
description = "Implementation of RSA, using the padding schemes of PKCS#1 v2.1.";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})
|