cast arguments for hmac.new to strings