*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* @param $key Optional key, if none provided, a random key will be generated
* @return $encrypted Encrypted string
*/
* @param $key Optional key, if none provided, a random key will be generated
* @return $encrypted Encrypted string
*/