Use base16 encoding for message digest to match rails