Added Primitives.hmac method.