I am looking for the simplest and secured way to encrypt/decrypt a string with a specific salt in PHP7
my string + specific salt = encryped data
decode(encryped data) = my string
I saw this post, but mcrypt_encrypt seems to be deprecated. Do you have any other suggestion or example ? Thank you