Using hexadecimal encoding instead of base64 for digests