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 /
ruby27 /
share /
ri /
system /
OpenSSL /
PKey /
DH /
Delete
Unzip
Name
Size
Permission
Date
Action
cdesc-DH.ri
2.06
KB
-rw-r--r--
2023-06-06 18:25
compute_key-i.ri
786
B
-rw-r--r--
2023-06-06 18:25
export-i.ri
591
B
-rw-r--r--
2023-06-06 18:25
generate-c.ri
822
B
-rw-r--r--
2023-06-06 18:25
generate_key%21-i.ri
968
B
-rw-r--r--
2023-06-06 18:25
initialize_copy-i.ri
267
B
-rw-r--r--
2023-06-06 18:25
new-c.ri
1.47
KB
-rw-r--r--
2023-06-06 18:25
params-i.ri
441
B
-rw-r--r--
2023-06-06 18:25
params_ok%3f-i.ri
525
B
-rw-r--r--
2023-06-06 18:25
private%3f-i.ri
460
B
-rw-r--r--
2023-06-06 18:25
public%3f-i.ri
454
B
-rw-r--r--
2023-06-06 18:25
public_key-i.ri
1.38
KB
-rw-r--r--
2023-06-06 18:25
set_key-i.ri
412
B
-rw-r--r--
2023-06-06 18:25
set_pqg-i.ri
369
B
-rw-r--r--
2023-06-06 18:25
to_der-i.ri
493
B
-rw-r--r--
2023-06-06 18:25
to_pem-i.ri
286
B
-rw-r--r--
2023-06-06 18:25
to_s-i.ri
282
B
-rw-r--r--
2023-06-06 18:25
to_text-i.ri
445
B
-rw-r--r--
2023-06-06 18:25
Save
Rename
U:RDoc::AnyMethod[iI"public_key:ETI"!OpenSSL::PKey::DH#public_key;TF:privateo:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"NReturns a new DH instance that carries just the public information, i.e. ;TI"Nthe prime _p_ and the generator _g_, but no public/private key yet. Such ;TI"Ma pair may be generated using DH#generate_key!. The "public key" needed ;TI"Ifor a key exchange with DH#compute_key is considered as per-session ;TI"Jinformation and may be retrieved with DH#pub_key once a key pair has ;TI"been generated. ;TI"NIf the current instance already contains private information (and thus a ;TI"Pvalid public/private key pair), this information will no longer be present ;TI"Qin the new instance generated by DH#public_key. This feature is helpful for ;TI"Qpublishing the Diffie-Hellman parameters without leaking any of the private ;TI"per-session information.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"Example;To:RDoc::Markup::Verbatim; [I"Gdh = OpenSSL::PKey::DH.new(2048) # has public and private key set ;TI"Dpublic_key = dh.public_key # contains only prime and generator ;TI"?parameters = public_key.to_der # it's safe to publish this;T:@format0: @fileI"ext/openssl/ossl_pkey_dh.c;T:0@omit_headings_from_table_of_contents_below0I"dh.public_key -> aDH ;T0[ I"();T@ FI"DH;TcRDoc::NormalClass00