Add a new Digest.result_bytes convenience function.

I would find this function useful.