Crypt::DH

Crypt::DH is a Diffie-Hellman key exchange system.
Download

Crypt::DH Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Benjamin Trott
  • Publisher web site:
  • http://search.cpan.org/~btrott/

Crypt::DH Tags


Crypt::DH Description

Crypt::DH is a Diffie-Hellman key exchange system. Crypt::DH is a Diffie-Hellman key exchange system.SYNOPSIS use Crypt::DH; my $dh = Crypt::DH->new; $dh->g($g); $dh->p($p); ## Generate public and private keys. $dh->generate_keys; $my_pub_key = $dh->pub_key; ## Send $my_pub_key to "other" party, and receive "other" ## public key in return. ## Now compute shared secret from "other" public key. my $shared_secret = $dh->compute_secret( $other_pub_key );Crypt::DH is a Perl implementation of the Diffie-Hellman key exchange system. Diffie-Hellman is an algorithm by which two parties can agree on a shared secret key, known only to them. The secret is negotiated over an insecure network without the two parties ever passing the actual shared secret, or their private keys, between them. Requirements: · Perl


Crypt::DH Related Software