Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
OpenSSL
/
Digest
/
//opt/alt/ruby21/share/ri/2.1.0/system/OpenSSL/Digest/new-c.ri
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"E(long name) or sn (short name) of a supported digest algorithm. ;TI"MIf +data+ (a +String+) is given, it is used as the initial input to the ;TI"Digest instance, i.e.;To:RDoc::Markup::Verbatim; [I":digest = OpenSSL::Digest.new('sha256', 'digestdata') ;T:@format0o; ; [I"is equal to;To;; [I",digest = OpenSSL::Digest.new('sha256') ;TI"!digest.update('digestdata') ;T;0S:RDoc::Markup::Heading: leveli: textI"Example;To;; [I")digest = OpenSSL::Digest.new('sha1');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