public static function rijndael($string, $key, $operation = self::ENCRYPT) {
        if ($operation === static::ENCRYPT) {
            return static::encrypt($string, $key, static::RIJNDAEL);
        } else {
            return static::decrypt($string, $key, static::RIJNDAEL);
        }
    }
public static function rijndael($string, $key, $operation = self::ENCRYPT) {
        if ($operation === static::ENCRYPT) {
            return static::encrypt($string, $key, static::RIJNDAEL);
        } else {
            return static::decrypt($string, $key, static::RIJNDAEL);
        }
    }
public static function rijndael ( $ string , $ key , $ operation = self :: ENCRYPT ) { if ( $ operation === static :: ENCRYPT ) { return static :: encrypt ( $ string , $ key , static :: RIJNDAEL ) ; } else { return static :: decrypt ( $ string , $ key , static :: RIJNDAEL ) ; } }
Encrypt and decrypt a string using the Rijndael 128 algorithm with CBC mode.

@param string $string
@param string $key
@param int $operation
@return string
Encrypt and decrypt a string using the Rijndael 128 algorithm with CBC mode .