docs: document input encoding in hmac

Document the input_encoding parameter in the update function of the
Hmac class. This parameter is similar to the update function of the
Hash class, so I simply replicated the explanation.