Add documentation to include/hash.h