Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.130
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby31 /
share /
ri /
system /
OpenSSL /
PKey /
DH /
Delete
Unzip
Name
Size
Permission
Date
Action
cdesc-DH.ri
2.35
KB
-rw-r--r--
2025-04-28 21:06
compute_key-i.ri
854
B
-rw-r--r--
2025-04-28 21:06
export-i.ri
565
B
-rw-r--r--
2025-04-28 21:06
generate-c.ri
784
B
-rw-r--r--
2025-04-28 21:06
generate_key%21-i.ri
1.39
KB
-rw-r--r--
2025-04-28 21:06
initialize_copy-i.ri
267
B
-rw-r--r--
2025-04-28 21:06
new-c.ri
1.77
KB
-rw-r--r--
2025-04-28 21:06
params-i.ri
441
B
-rw-r--r--
2025-04-28 21:06
params_ok%3f-i.ri
613
B
-rw-r--r--
2025-04-28 21:06
private%3f-i.ri
460
B
-rw-r--r--
2025-04-28 21:06
public%3f-i.ri
454
B
-rw-r--r--
2025-04-28 21:06
public_key-i.ri
1.08
KB
-rw-r--r--
2025-04-28 21:06
set_key-i.ri
412
B
-rw-r--r--
2025-04-28 21:06
set_pqg-i.ri
369
B
-rw-r--r--
2025-04-28 21:06
to_der-i.ri
493
B
-rw-r--r--
2025-04-28 21:06
to_pem-i.ri
505
B
-rw-r--r--
2025-04-28 21:06
to_s-i.ri
501
B
-rw-r--r--
2025-04-28 21:06
Save
Rename
U:RDoc::NormalClass[iI"DH:ETI"OpenSSL::PKey::DH;TI"OpenSSL::PKey::PKey;To:RDoc::Markup::Document:@parts[o;;[ : @fileI"$ext/openssl/lib/openssl/pkey.rb;T:0@omit_headings_from_table_of_contents_below0o;;[o:RDoc::Markup::Paragraph;[I"LAn implementation of the Diffie-Hellman key exchange protocol based on ;TI"Ldiscrete logarithms in finite fields, the same basis that DSA is built ;TI"on.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"7Accessor methods for the Diffie-Hellman parameters;To:RDoc::Markup::List: @type: NOTE:@items[ o:RDoc::Markup::ListItem:@label[I" DH#p;T;[o;;[I"AThe prime (an OpenSSL::BN) of the Diffie-Hellman parameters.;To;;[I" DH#g;T;[o;;[I"GThe generator (an OpenSSL::BN) g of the Diffie-Hellman parameters.;To;;[I"DH#pub_key;T;[o;;[I"KThe per-session public key (an OpenSSL::BN) matching the private key. ;TI"/This needs to be passed to DH#compute_key.;To;;[I"DH#priv_key;T;[o;;[I"1The per-session private key, an OpenSSL::BN.;T@S; ;i;I"Example of a key exchange;To:RDoc::Markup::Verbatim;[I"L# you may send the parameters (der) and own public key (pub1) publicly ;TI""# to the participating party ;TI"'dh1 = OpenSSL::PKey::DH.new(2048) ;TI"der = dh1.to_der ;TI"pub1 = dh1.pub_key ;TI" ;TI":# the other party generates its per-session key pair ;TI"+dhparams = OpenSSL::PKey::DH.new(der) ;TI"0dh2 = OpenSSL::PKey.generate_key(dhparams) ;TI"pub2 = dh2.pub_key ;TI" ;TI"'symm_key1 = dh1.compute_key(pub2) ;TI"'symm_key2 = dh2.compute_key(pub1) ;TI"*puts symm_key1 == symm_key2 # => true;T:@format0; I"ext/openssl/ossl_pkey_dh.c;T; 0; 0; 0[ [ [[I"OpenSSL::Marshal;To;;[ ; @; 0I"$ext/openssl/lib/openssl/pkey.rb;T[[I" class;T[[:public[ [:protected[ [:private[[I" generate;T@R[I"new;TI"ext/openssl/ossl_pkey_dh.c;T[I" instance;T[[;[ [;[ [;[[I"compute_key;T@R[I"export;T@a[I"generate_key!;T@R[I"initialize_copy;T@a[I"params;T@a[I"params_ok?;T@a[I" private?;T@a[I"public?;T@a[I"public_key;T@R[I"set_key;T@a[I"set_pqg;T@a[I"to_der;T@a[I"to_pem;T@a[I" to_s;T@a[ [U:RDoc::Context::Section[i 0o;;[ ; 0; 0[I"$ext/openssl/lib/openssl/pkey.rb;TI"ext/openssl/ossl_pkey.c;TI"OpenSSL::PKey;TcRDoc::NormalModule