private static void AssertHashIdAndKey(object hashId, byte[] key) { if (hashId == null) throw new ArgumentNullException("hashId"); if (key == null) throw new ArgumentNullException("key"); }