add HMAC support
Merge pull request #14 from nathan7/hmac

add HMAC support