Verify MAC is actually a hex digest.

Fixes #13.