title: mcrypt_create_iv alternative in PHP 7.3
body: <p>Have just upgraded from <code>PHP 7.0</code> to <code>PHP 7.3</code> and now this function is removed.. Are there any alternatives?</p>
  
  <pre><code>$salt = base64_encode(mcrypt_create_iv(24, MCRYPT_DEV_URANDOM));
  </code></pre>