simplifed way to generate mac key identifier
start of terminology fix = hmac -> mac