Add support for hashing binary data