1Net::SSH::Perl::Kex::DHU(s3e)r Contributed Perl DocumentaNteito:n:SSH::Perl::Kex::DH(3)
2
3
4
6 Net::SSH::Perl::Kex::DH - Diffie-Hellman Group Agnostic Key Exchange
7
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
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
32 Please see the Net::SSH::Perl manpage for author, copyright, and
33 license information.
34
35
36
37perl v5.32.0 2020-07-28 Net::SSH::Perl::Kex::DH(3)