is_valid_hmac does not modify original dictionary anymore closes #38.