The first is a signing algorithm that's given a message and a key will generate a corresponding tag And the second is verification algorithms are given a key message and a tag while outputs zero or one depending on whether the tag is valid or not. 