title: Best encryption/decryption with salt in PHP 7
body: <p>I am looking for the simplest and secured way to encrypt/decrypt a string with a specific salt in PHP7 </p>
  
  <pre><code>my string + specific salt = encryped data 
  decode(encryped data) = my string
  </code></pre>
  
  <p>I saw this <a href="https://stackoverflow.com/a/15884537/3084005">post</a>, but mcrypt_encrypt seems to be deprecated. Do you have any other suggestion or example ? Thank you</p>