if(!QCA::isSupported("aes128-cbc"))
if(!QCA::isSupported("aes128-cbc-pkcs7"))
int main(int argc, char **argv){	// the Initializer object sets things up, and 	// also does cleanup when it goes out of scope	QCA::Initializer init;	QCoreApplication app(argc, argv);	// we use the first argument if provided, or	// use "hello" if no arguments	QSecureArray arg = (argc >= 2) ? argv[1] : "hello";	// AES128 test	if(!QCA::isSupported("aes128-cbc"))		printf("AES128-CBC not supported!\n");	else {		// encrypt		QCA::AES128 c(QCA::Cipher::CBC, QCA::Cipher::DefaultPadding, QCA::Encode);		c.update(arg);		QSecureArray f = c.final();		QString result = QCA::arrayToHex(f);		printf(">aes128(\"%s\") = [%s]\n", arg.data(),qPrintable(result) );	}	return 0;}