title: openssl_decrypt with aes-192-ctr return �L�� ��&A�C��
body: <p>I build a function to encrypt and decrypt an e-mail address to append it as a get param to an URL in the content of the e-mail.
  When the recipient is clicking on the link in the email it should decrypt the get param so my site could work with this data again. I'm not allowed by different laws to save it till the user hasn't accepted the email.</p>
  
  <p>so my code is working like this....</p>
  
  <p>User is filling a form which posts the data to my function</p>
  
  <pre><code>SECURITY_SALT = "218391"; // just example salt
  $email = $_POST['email'];
  $getParamToAppend = openssl_encrypt($email, "aes-192-ctr", SECURITY_SALT);
  sendMail($email, $getParamToAppend);
  </code></pre>
  
  <p>When the user is opening the URL of the mail it should decrypt and use this data again.</p>
  
  <pre><code>SECURITY_SALT = "218391"; // just example salt
  $email = $_GET['email'];
  $emailDecrypted = openssl_decrypt($email, "aes-192-ctr", SECURITY_SALT);
  doMyStuff(emailDecrypted);
  </code></pre>
  
  <p>Now I'm receiving when I'm opening the URL out my Phone(Gmail) or a mail-client( <a href="https://de.tobit.software/david" rel="nofollow noreferrer">https://de.tobit.software/david</a> ) a result like this:</p>
  
  <pre><code> myname@gma�L�� ��&amp;A�C�� (gmail.com)
   myname@compan�L�� ��&amp;A�C�� (david + 1&amp;1 email address)
  </code></pre>
  
  <p>But when I'm opening the site with a 1&amp;1 e-mail address via webmailer of my company I'm receiving </p>
  
  <pre><code> myname@company.com
  </code></pre>
  
  <p>any ideas how to solve my problem?
  tried till now different "solutions"</p>
  
  <ul>
  <li>utf8_decode/utf8_encode</li>
  <li>changing apache charset config</li>
  <li>different browsers</li>
  </ul>
  
  <p>but nothing seems to work...</p>
  
  <p>Additional Information: I'm using phpmailer and also set the Charset option to UTF-8 there.</p>