ofhash: Allow calculating multiple hashes at once