update cs1a hmac to make the key input always unique