This was tested on:
- Ubuntu 14.04 x64
- Ubuntu 16.04 x64
<?php | |
/** | |
* Simple PHP Encryption functions | |
* | |
* Attempts to be as secure as possible given: | |
* | |
* - Key can be any string | |
* - No knowledge of encryption is required | |
* - Only key and raw/encrypted string is needed at each end |