Just as an idea: A few times I used this one (it's basically AES-128). There are also examples that basically worked for me. So: Not really an experience but the few times it worked. https://github.com/defuse/php-encryption