libcrypt-dh-gmp-perl - Crypt::DH replacement that uses GMP directly

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name libcrypt-dh-gmp-perl
Package version 0.00012
Package release 1+b1
Package architecture amd64
Package type deb
Installed size 40 B
Download size 19.16 KB
Official Mirror
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.


Package Version Architecture Repository
libcrypt-dh-gmp-perl_0.00012-1+b1_i386.deb 0.00012 i386 Debian Main
libcrypt-dh-gmp-perl - - -


Name Value
libc6 >= 2.14
libgmp10 -
perl >= 5.20.0-4
perlapi-5.20.0 -


Type URL
Binary Package libcrypt-dh-gmp-perl_0.00012-1+b1_amd64.deb
Source Package libcrypt-dh-gmp-perl

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install libcrypt-dh-gmp-perl deb package:
    # sudo apt-get install libcrypt-dh-gmp-perl




2014-04-06 - Salvatore Bonaccorso <>
libcrypt-dh-gmp-perl (0.00012-1) unstable; urgency=low
* Team upload.
[ gregor herrmann ]
* Strip trailing slash from metacpan URLs.
[ Salvatore Bonaccorso ]
* Imported Upstream version 0.00012
* Drop copyright stanza for removed file ppport.h
* Drop unversioned Depends on perl (covered by ${shlibs:Depends})
* Declare compliance with Debian Policy 3.9.5
2013-09-18 - gregor herrmann <>
libcrypt-dh-gmp-perl (0.00011-1) unstable; urgency=low
[ gregor herrmann ]
* debian/copyright: update wording of Comment about copyright
[ Salvatore Bonaccorso ]
* Change Vcs-Git to canonical URI (git://
* Change based URIs to based URIs
[ gregor herrmann ]
* New upstream release.
* Update patches. Drop spelling.patch, fixed upstream. Refresh fix-
checklib-fail.patch (offset).
* Update years of copyright.
* Use debhelper 9.20120312 to get all hardening flags.
* Declare compliance with Debian Policy 3.9.4.
2012-08-08 - Alessandro Ghedini <>
libcrypt-dh-gmp-perl (0.00010-2) unstable; urgency=low
* Team upload
[ gregor herrmann ]
* debian/control: update {versioned,alternative} (build) dependencies.
[ Alessandro Ghedini ]
* Add fix-checklib-fail.patch
* Bump debhelper compat level to 9
* Update copyright to Copyright-Format 1.0
* Bump Standards-Version to 3.9.3 (no changes needed)
2011-11-22 - Alessandro Ghedini <>
libcrypt-dh-gmp-perl (0.00010-1) unstable; urgency=low
* Team upload
[ Alessandro Ghedini ]
* New upstream release
* Drop split-flags.patch (merged upstream)
* Re-order (Build-)Depends (just cosmetics)
[ gregor herrmann ]
* Update years of copyright for inc/Module/*.
2011-11-17 - Dominic Hargreaves <>
libcrypt-dh-gmp-perl (0.00009-5) unstable; urgency=low
[ Salvatore Bonaccorso ]
* debian/copyright: Replace DEP5 Format-Specification URL from to URL.
* Fix splitting of CCFLAGS and LDFLAGS in Makefile.PL.
CCFLAGS and LDFLAGS need to be split into words, not characters
Thanks to Colin Watson <> (Closes: #648955)
[ Dominic Hargreaves ]
* Swap libextutils-parsexs-perl/perl alternate build-dependency around
following migration of perl 5.14 to unstable so that it can be
2011-08-04 - Dominic Hargreaves <>
libcrypt-dh-gmp-perl (0.00009-4) unstable; urgency=low
[ Ansgar Burchardt ]
* debian/control: Convert Vcs-* fields to Git.
[ Dominic Hargreaves ]
* Add alternate Build-Depends on perl (>= 5.14) which now satisfies
the libextutils-parsexs-perl requirement (and breaks the external
libextutils-parsexs-perl package) (Closes: #636641)
* Update Standards-Version to 3.9.2 (no changes)
2011-03-08 - Salvatore Bonaccorso <>
libcrypt-dh-gmp-perl (0.00009-3) unstable; urgency=low
* Team upload.
* Drop alternate Build-Depends on perl (>= 5.12) to workaround sbuild
bug #586275 causing FTBFS (Closes: #617280).
2011-03-06 - Salvatore Bonaccorso <>
libcrypt-dh-gmp-perl (0.00009-2) unstable; urgency=low
* Team upload.
* debian/control:
- Change Build-Depends on libgmp3-dev to libgmp-dev.
- Bump Build-Depends on debhelper to (>= 8).
* Bump Debhelper compat level to 8.
2011-01-05 - gregor herrmann <>
libcrypt-dh-gmp-perl (0.00009-1) unstable; urgency=low
* Initial release (closes: #608999).

See Also

Package Description
libcrypt-dh-perl_0.07-1_all.deb Diffie-Hellman key exchange system implemented in Perl
libcrypt-dsa-perl_1.17-3_all.deb Perl module for DSA Signatures and Key Generation
libcrypt-ecb-perl_1.45-1_all.deb Perl library to encrypt data using ECB mode
libcrypt-eksblowfish-perl_0.009-1+b2_amd64.deb Perl module implementing the Eksblowfish block cipher
libcrypt-gcrypt-perl_1.26-2_amd64.deb Perl interface to the GNU Cryptographic library
libcrypt-generatepassword-perl_0.04-1_all.deb perl module to generate secure passwords
libcrypt-gpg-perl_1.52-1_all.deb An Object Oriented Interface to GnuPG
libcrypt-hcesha-perl_0.70-3_all.deb Perl extension for one way hash chaining encryption using SHA
libcrypt-mysql-perl_0.04-5+b2_amd64.deb Perl module to emulate the MySQL PASSWORD() function
libcrypt-openssl-bignum-perl_0.04-4+b2_amd64.deb Perl module to access OpenSSL multiprecision integer arithmetic libraries
libcrypt-openssl-dsa-perl_0.14-1+b1_amd64.deb module which implements the DSA signature verification system
libcrypt-openssl-random-perl_0.04-2+b1_amd64.deb module to access the OpenSSL pseudo-random number generator
libcrypt-openssl-rsa-perl_0.28-2+b1_amd64.deb module for RSA encryption using OpenSSL
libcrypt-openssl-x509-perl_1.8.4-1+b1_amd64.deb Perl extension to OpenSSL's X509 API
libcrypt-passwdmd5-perl_1.3-10_all.deb interoperable MD5-based crypt() for perl