End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Digest::SHA2#update
digest_obj.update(string) → digest_obj
ext/digest/sha2/lib/sha2.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/ext/digest/sha2/lib/sha2.rb, line 89
def update(str)
@sha2.update(str)
self
end
Update the digest using a given string and return self.