title: Hashing Multiple Files
body: <blockquote>
  <h2>Problem Specification:</h2>
  <p>Given a directory, I want to iterate through the directory and its non-hidden sub-directories,<br />
   and add a whirlpool hash into the non-hidden
  file's names.<br />
  If the script is re-run it would would replace an old hash with a new one.</p>
  <blockquote>
  <p><code>&lt;filename&gt;.&lt;extension&gt;</code>   ==&gt;  <code>&lt;filename&gt;.&lt;a-whirlpool-hash&gt;.&lt;extension&gt;</code></p>
  <p><code>&lt;filename&gt;.&lt;old-hash&gt;.&lt;extension&gt;</code>   ==&gt;  <code>&lt;filename&gt;.&lt;new-hash&gt;.&lt;extension&gt;</code></p>
  </blockquote>
  </blockquote>
  <br>
  <blockquote>
  <h2>Question:</h2>
  <h3>a) How would you do this?</h3>
  <h3>b) Out of the all methods available to you, what makes your method most suitable?</h3>
  </blockquote>
  <br>
  <blockquote>
  <h2>Verdict:</h2>
  <p>Thanks all, I have chosen SeigeX's answer for it's speed and portability.<br />
  It is emprically quicker than the other bash variants,<br />
   and it worked without alteration on my Mac OS X machine.</p>
  </blockquote>