title: How do I get hex blocks from a base 64 encoded string?
body: <p>In <a href="http://nakedsecurity.sophos.com/2013/11/04/anatomy-of-a-password-disaster-adobes-giant-sized-cryptographic-blunder/" rel="noreferrer">this article</a> and <a href="http://xkcd.com/1286/" rel="noreferrer">this XKCD</a>, they both show the password data as groupings of hexadecimal.</p>
  
  <p>However, in the file it's base64 encoded. What could I use to match that output with bash scripting? I've tried:</p>
  
  <pre><code>echo -n "7WkoOEfwfTTioxG6CatHBw==" | base64 -d
  echo -n "7WkoOEfwfTTioxG6CatHBw==" | openssl enc -d -base64
  </code></pre>
  
  <p>What is it they are doing, and how do I decode them to hex blocks?</p>
  
  <p><img src="https://imgs.xkcd.com/comics/encryptic.png" alt="xkcd Encryptic"></p>