Refactoring. Signature HMAC Implementation.