Add class OFHash as a superclass for OFMD5Hash and OFSHA1Hash.