README
1NAME
2 Alt::Crypt::RSA::BigInt - Rewrite of Crypt::RSA
3
4DESCRIPTION
5
6 This is a rework of Crypt::RSA to remove Math::Pari and instead base
7 all operations on Math::BigInt.
8
9STATUS
10
11 This is intended to be a plug-in replacement for Crypt::RSA, with no
12 user-visible changes to existing features.
13
14 Math::Pari is completely removed. This includes the two modules:
15
16 - Crypt::Primes => Math::Prime::Util
17 - Crypt::Random => Math::Prime::Util
18
19 All operations are now performed using Math::BigInt, and prefer the
20 GMP and Pari backends.
21
22 All of the existing bug reports have been addressed, as well as adding
23 a few new features such as
24
25PERFORMANCE
26
27 Performance using GMP is 3-10 times faster than the Crypt::RSA 1.99.
28
29 Using Math::BigInt::Pari, it is about half the speed at signing, and
30 on par when verifying.
31
32 If neither GMP nor Pari are available, performance is very slow, from
33 10x to 200x slower. However this is an environment where the original
34 code could not run.
35
36 Time to run test suite on my machine:
37 4 seconds with GMP and Math::Prime::Util::GMP
38 10 seconds with GMP
39 17 seconds with Pari (no GMP)
40 91 seconds with Calc (no GMP and no Pari)
41 The test suite uses smaller sizes in some tests for non-GMP, non-Pari.
42
43AUTHOR
44
45 Vipul Ved Prakash wrote the original Crypt::RSA.
46
47 Dana Jacobsen did the changes to Math::BigInt.
48
49COPYRIGHT AND LICENSE
50
51 Copyright (c) 2001 by Vipul Ved Prakash, 2012 by Dana Jacobsen.
52
53 This program is free software; you can redistribute it and/or modify it
54 under the same terms as Perl itself.
55