U:RDoc::AnyMethod[iI" generate:ETI" OpenSSL::PKey::DH::generate;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"QCreates a new DH instance from scratch by generating the private and public ;TI"components alike.;To:RDoc::Markup::BlankLineS:RDoc::Markup::Heading: leveli: textI"Parameters;To:RDoc::Markup::List: @type: BULLET: @items[o:RDoc::Markup::ListItem: @label0; [o; ; [I"w+size+ is an integer representing the desired key size. Keys smaller than 1024 bits should be considered insecure.;To;;0; [o; ; [I"9+generator+ is a small number > 1, typically 2 or 5.;T: @fileI"ext/openssl/ossl_pkey_dh.c;T:0@omit_headings_from_table_of_contents_below0I"+DH.generate(size [, generator]) -> dh ;T0[I"(p1, p2 = v2);T@FI"DH;TcRDoc::NormalClass00