Added support for hashing arbitrary data