Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method

Digest::Instance#hexdigest!

() -> ::String
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.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0