simplified KeyedHashAlgorithm class