method
hexdigest
v1_9_3_125 -
Show latest stable
- Class:
Digest::Instance
hexdigest(p1 = v1)public
If none is given, returns the resulting hash value of the digest in a hex-encoded form, keeping the digest’s state.
If a string is given, returns the hash value for the given string in a hex-encoded form, resetting the digest to the initial state before and after the process.