Given a string / filename produce a hash in R? : <p>I have a set of file names:</p>

<pre><code>f &lt;- c("a", "b", "c") 
</code></pre>

<p>I have found <code>digest</code> function to do this, can you please advise if have chosen the right function for the task?</p>
