>From the man page:
Note that the digest operation is effectively a
destructive, read-once operation. Once it has been
performed, the Digest::MD5 object is automatically
reset and can be used to calculate another digest
value.So in both cases, your hexdigest and b64digest were of the empty string. --kag
