Ruby/Evernote - Correct md5 hash to get resource by hash?
<p>When calling NoteStore.getResourceByHash on the Evernote api, did anyone manage to generate the correct md5 checksum from the hash value of the en-media element, using Ruby?</p>

<p>I've managed to get this working in c# but I cannot seem to get it working with Ruby.</p>

<p>Its about this line:</p>

<pre><code>hash_func = Digest::MD5.new
@note_store.getResourceByHash(auth_token, note_guid, hash_func.hexdigest(hash), true, false, false)
</code></pre>

<p>Thanks :-)</p>