10 defined(
'JPATH_PLATFORM') or die;
40 public function __construct($privateKey = null)
44 if (empty($privateKey))
50 $key =
new JCryptKey(
'simple', $privateKey, $privateKey);
66 public function decrypt($s)
68 return $this->_crypt->decrypt($s);
81 public function encrypt($s)
83 return $this->_crypt->encrypt($s);