U:RDoc::AnyMethod[iI"new:ETI"OpenSSL::Digest::new;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"ICreates a Digest instance based on +string+, which is either the ln ;TI"D(long name) or sn (short name) of a supported digest algorithm.;To:RDoc::Markup::BlankLineo; ; [I"MIf +data+ (a +String+) is given, it is used as the initial input to the ;TI"Digest instance, i.e.;T@o:RDoc::Markup::Verbatim; [I":digest = OpenSSL::Digest.new('sha256', 'digestdata') ;T: @format0o; ; [I"is equal to;T@o; ; [I",digest = OpenSSL::Digest.new('sha256') ;TI" digest.update('digestdata');T; 0: @fileI"ext/openssl/ossl_digest.c;T:0@omit_headings_from_table_of_contents_below0I"+Digest.new(string [, data]) -> Digest ;T0[I"(p1, p2 = v2);T@FI" Digest;TcRDoc::NormalClass00