Skip to content

Commit

Permalink
import Crypt-DH 0.04 from CPAN
Browse files Browse the repository at this point in the history
git-cpan-module:   Crypt-DH
git-cpan-version:  0.04
git-cpan-authorid: BTROTT
git-cpan-file:     authors/id/B/BT/BTROTT/Crypt-DH-0.04.tar.gz
  • Loading branch information
Benjamin Trott authored and schwern committed Dec 10, 2009
1 parent 37a68a0 commit cb1a062
Show file tree
Hide file tree
Showing 20 changed files with 1,669 additions and 94 deletions.
10 changes: 9 additions & 1 deletion Changes
@@ -1,7 +1,15 @@
$Id: Changes,v 1.3 2002/01/20 22:46:25 btrott Exp $
$Id: Changes 1855 2005-06-07 00:55:38Z btrott $

Revision history for Crypt::DH

0.04 2005.06.06 (bradfitz)
- Ported to Math::BigInt (which can use PARI,GMP,etc)
- Don't depend on Crypt::Random, just use it if already loaded
- renamed compute_key to compute_secret (kept old name)
- updated POD docs
- made test.pl sane and test everything realistically; moved into t/
- Updated Makefile.PL to use Module::Install

0.03 2002.01.20
- Added patch from Kurt D. Starsinic to enable setting the
private key, rather than always having it generated.
Expand Down
19 changes: 16 additions & 3 deletions MANIFEST
@@ -1,7 +1,20 @@
Changes
MANIFEST
inc/ExtUtils/AutoInstall.pm
inc/Module/Install.pm
inc/Module/Install/AutoInstall.pm
inc/Module/Install/Base.pm
inc/Module/Install/Can.pm
inc/Module/Install/Fetch.pm
inc/Module/Install/Include.pm
inc/Module/Install/Makefile.pm
inc/Module/Install/Metadata.pm
inc/Module/Install/Win32.pm
inc/Module/Install/WriteAll.pm
lib/Crypt/DH.pm
Makefile.PL
MANIFEST This list of files
META.yml
README
t/00-compile.t
t/01-dh.t
ToDo
lib/Crypt/DH.pm
test.pl
13 changes: 13 additions & 0 deletions META.yml
@@ -0,0 +1,13 @@
name: Crypt-DH
version: 0.04
abstract: Diffie-Hellman key exchange system
author: Benjamin Trott <ben+cpan@stupidfool.org>
license: perl
distribution_type: module
requires:
Math::BigInt: 1.60
no_index:
directory:
- t
- inc
generated_by: Module::Install version 0.36
35 changes: 20 additions & 15 deletions Makefile.PL
@@ -1,15 +1,20 @@
# $Id: Makefile.PL,v 1.1 2001/04/10 21:26:36 btrott Exp $

use ExtUtils::MakeMaker;

WriteMakefile(
NAME => 'Crypt::DH',
DISTNAME => 'Crypt-DH',
VERSION_FROM => 'lib/Crypt/DH.pm',
AUTHOR => 'Benjamin Trott <ben@rhumba.pair.com>',
ABSTRACT => 'Diffie-Hellman key exchange system',
PREREQ_PM => {
'Math::Pari' => '2.001804',
'Crypt::Random' => '0.33',
},
);
# $Id: Makefile.PL 1854 2005-06-07 00:54:36Z btrott $

use inc::Module::Install;

name('Crypt-DH');
abstract('Diffie-Hellman key exchange system');
author('Benjamin Trott <ben+cpan@stupidfool.org>');
version_from('lib/Crypt/DH.pm'),
license('perl');
no_index(directory => 't');
sign(1);

include('ExtUtils::AutoInstall');

requires('Math::BigInt' => '1.60');

auto_include();
auto_install();

&WriteAll;
2 changes: 1 addition & 1 deletion README
@@ -1,4 +1,4 @@
$Id: README,v 1.1 2001/04/10 21:26:36 btrott Exp $
$Id: README 128 2001-04-10 21:26:36Z btrott $

This is Crypt::DH, a module implementing the Diffie-Hellman
key exchange system.
Expand Down

0 comments on commit cb1a062

Please sign in to comment.