• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

inc/Devel/H26-Apr-2017-487224

lib/H26-Apr-2017-3,4101,395

t/H26-Apr-2017-1,021630

xt/H26-Apr-2017-257185

.travis.ymlH A D26-Apr-20171,011 4339

ChangesH A D26-Apr-20174.2 KiB12978

Changes.oldH A D08-Jul-20089.7 KiB279165

LICENSEH A D28-Dec-201218 KiB383295

MANIFESTH A D26-Apr-20171.1 KiB5352

META.jsonH A D26-Apr-20171.7 KiB6665

META.ymlH A D26-Apr-20171 KiB4645

Makefile.PLH A D26-Apr-20174 KiB10791

READMEH A D26-Apr-20171.6 KiB5535

TODOH A D26-Apr-2017911 2315

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