1Net::SSH::Perl::Kex::DHU(s3e)r Contributed Perl DocumentaNteito:n:SSH::Perl::Kex::DH(3)
2
3
4

NAME

6       Net::SSH::Perl::Kex::DH - Diffie-Hellman Group Agnostic Key Exchange
7

SYNOPSIS

9           # This class should not be used directly, but rather as a base for DH1,
10           # DH14SHA1, DH16SHA512, etc
11
12           use Net::SSH::Perl::Kex::DH;
13           use base qw( Net::SSH::Perl::Kex::DH );
14
15           # Simply implement _dh_new_group and return the Crypt::DH group
16           sub _dh_new_group {
17               my $kex = shift;
18               ...
19               $dh;
20           }
21

DESCRIPTION

23       Net::SSH::Perl::Kex::DH implements Diffie-Hellman Group Agnostic
24       Exchange for Net::SSH::Perl. It is a subclass of Net::SSH::Perl::Kex.
25
26       Key Exchange uses the Diffie-Hellman key exchange algorithm to produce
27       a shared secret key between client and server, without ever sending the
28       shared secret over the insecure network. All that is sent are the
29       client and server public keys.
30

AUTHOR & COPYRIGHTS

32       Please see the Net::SSH::Perl manpage for author, copyright, and
33       license information.
34
35
36
37perl v5.36.0                      2023-01-20        Net::SSH::Perl::Kex::DH(3)
Impressum