title: Python to Ruby Conversion, stuck on the equivalent
body: <p>I currently have this string that hashes the password to connect to the server properly. It works fine for the hashing in python</p>
  
  <pre><code>import hmac
  "password": hmac.new(user_pasw.encode(), (user_name + resp["challenge"]).encode(), "md5").hexdigest().upper()
  </code></pre>
  
  <p>Unfortunately, I've been unable to find the equivalent of to do the tuple without other gems being installed. Thus, im stuck. Is there any workaround for this?</p>