D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
OpenSSL
/
Digest
/
Filename :
update-i.ri
back
Copy
U:RDoc::AnyMethod[iI"update:ETI"OpenSSL::Digest#update;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"ONot every message digest can be computed in one single pass. If a message ;TI"Mdigest is to be computed from several subsequent sources, then each may ;TI"3be passed individually to the Digest instance.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"Example;To:RDoc::Markup::Verbatim; [ I",digest = OpenSSL::Digest.new('SHA256') ;TI""digest.update('First input') ;TI"Ldigest << 'Second input' # equivalent to digest.update('Second input') ;TI"result = digest.digest;T:@format0: @fileI"ext/openssl/ossl_digest.c;T:0@omit_headings_from_table_of_contents_below0I"&digest.update(string) -> aString ;T0[[I"<<;T@ I" (p1);T@FI"Digest;TcRDoc::NormalClass00