def auth(self, encoded):
message, signature = self.split(encoded)<EOL>computed = self.sign(message)<EOL>if not hmac.compare_digest(signature, computed):<EOL><INDENT>raise AuthenticatorInvalidSignature<EOL><DEDENT>
Validate integrity of encoded bytes