File: C:/Ruby27-x64/share/ri/2.7.0/system/Digest/SHA1/cdesc-SHA1.ri
U:RDoc::NormalClass[iI" SHA1:ETI"Digest::SHA1;TI"Digest::Base;To:RDoc::Markup::Document:@parts[o;;[
o:RDoc::Markup::Paragraph;[I"IA class for calculating message digests using the SHA-1 Secure Hash ;TI"DAlgorithm by NIST (the US' National Institute of Standards and ;TI".Technology), described in FIPS PUB 180-1.;To:RDoc::Markup::BlankLine o; ;[I")See Digest::Instance for digest API.;T@o; ;[I"6SHA-1 calculates a digest of 160 bits (20 bytes).;T@S:RDoc::Markup::Heading:
leveli: textI"
Examples;To:RDoc::Markup::Verbatim;[I"require 'digest'
;TI"
;TI"!# Compute a complete digest
;TI"9Digest::SHA1.hexdigest 'abc' #=> "a9993e36..."
;TI"
;TI" # Compute digest by chunks
;TI"?sha1 = Digest::SHA1.new # =>#<Digest::SHA1>
;TI"sha1.update "ab"
;TI"?sha1 << "c" # alias for #update
;TI">sha1.hexdigest # => "a9993e36..."
;TI"
;TI"5# Use the same object to compute another digest
;TI"sha1.reset
;TI"sha1 << "message"
;TI"=sha1.hexdigest # => "6f9b9af3...";T:@format0:
@fileI"ext/digest/sha1/sha1init.c;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I"
class;T[[:public[ [:protected[ [:private[ [I"
instance;T[[;[ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[I"+ext/digest/bubblebabble/bubblebabble.c;TI"Digest;TcRDoc::NormalModule