Skip to content

Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Digest::Instance#hexdigest!

digest_obj.hexdigest! → string

Returns the resulting hash value in a hex-encoded form and resets the digest to the initial state.

See also #hexdigest #inspect #finish #length also in 4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0