Allow ByteBuffers to be used as input to message digests/hmacs.