D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
OpenSSL
/
Digest
/
Filename :
new-c.ri
back
Copy
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"O(long name) or sn (short name) of a supported digest algorithm. A list of ;TI"Msupported algorithms can be obtained by calling OpenSSL::Digest.digests.;To:RDoc::Markup::BlankLine o; ; [I"KIf _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 equivalent 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