title: Convert PHP code to Javascript (implode, pack and unpack)
body: <p>I need to convert some PHP to javascript in the client side.</p>
  
  <p>Can someone point me the correct translation to this lines?
  There's no problem if external libs are needed.</p>
  
  <pre><code>$a = pack("A32", "foobar");
  $b = implode("", unpack("H32", ("foobar", "frigobar")));
  </code></pre>