Add hmac

Looks good to me, do we merge or what? ;)