A MAC (Message Authentication Code) algorithm is a family of hash functions parameterised by a secret key . must be computation-resistant: given zero or more MAC pairs , it is infeasible to compute for any new input .