Poly1305
A fast message authentication code that Daniel J. Bernstein published in 2005.
Poly1305 computes its tag by treating the message as a polynomial and evaluating it modulo 2130−5. The key is 256 bits: one half drives the polynomial and the other half masks the final result. It is fast in software and fairly hard to get wrong, which was part of the design goal.
The key must never be used twice. In ChaCha20-Poly1305 this is solved by deriving a fresh key for every message, so Poly1305 never sees the same key twice.