title: Get iv string when performing Crypt::encrypt in Laravel
body: <p>I am trying to make cross domain ajax call with username and password encrypted by Laravel, but I cannot figure out the way to find IV string generated during Crypt::encrypt operation. What would be the best way to find that?</p>
  
  <p>Update (added code):</p>
  
  <pre><code>$encUsername = Crypt::encrypt($username);
  $encPassword = Crypt::encrypt($password);
  
  JavaScript::put([
    'username' =&gt; $encUsername,
    'password' =&gt; $encPassword
  ]);
  </code></pre>