title: PHP difference between mcrypt and openssl?
body: <p>Why have these two methods of using blowfish in ecb-mode different outputs?</p>
  
  <pre><code>&lt;?php
  
  echo bin2hex(mcrypt_encrypt("blowfish", "test", "test", "ecb"))."\n";
  echo bin2hex(openssl_encrypt("test", "bf-ecb", "test", true))."\n";
  
  ?&gt;
  </code></pre>