Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> perl >> libcrypt-dh-gmp-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libcrypt-dh-gmp-perl  ]

软件包: libcrypt-dh-gmp-perl (0.00012-1build4)

Crypt::DH replacement that uses GMP directly

Crypt::DH::GMP is a (somewhat) portable replacement to Crypt::DH, implemented mostly in C.

In the beginning, there was Crypt::DH. However, Crypt::DH suffers from a couple of problems: GMP/Pari libraries are almost always required; Crypt::DH additionally has Math::BigInt in between GMP. Instantiating an object comes with a relatively high cost, and if you make many computations in one go, your program will suffer dramatically because of this.

Crypt::DH::GMP attempts to alleviate these problems by providing a Crypt::DH-compatible layer, which, instead of doing calculations via Math::BigInt, directly works with libgmp in C.

This means that essentially 2 call stacks worth of expensive Perl method calls are eliminated and also only load 1 (Crypt::DH::GMP) module instead of 3 (Crypt::DH + Math::BigInt + Math::BigInt::GMP) is needed.

These add up to a fairly significant increase in performance.

其他与 libcrypt-dh-gmp-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libc6 (>= 2.4)
    GNU C Library: Shared libraries
    同时作为一个虚包由这些包填实: libc6-udeb
  • dep: libgmp10
    Multiprecision arithmetic library
  • dep: perl (>= 5.26.0-4)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.26.0
    本虚包由这些包填实: perl-base

下载 libcrypt-dh-gmp-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
i386 16.8 kB57 kB [文件列表]