block length - Rijndael algorithm
===

Well, I downloaded Rijndael sources from here: http://www.codeproject.com/Articles/1380/A-C-Implementation-of-the-Rijndael-Encryption-Decr

I have the following code:

    int AutoUpdater::GetVersion()
    {
	std::ifstream file("ver.dat", std::ios::out );
	if(file.fail())
		return 0;
	file.seekg(0,std::ios::end);
	int len = (int)file.tellg();
	file.seekg(0,std::ios::beg);
	
	char* line = new char[len];
	
	file.read(line,len);
	file.close();

	CRijndael crypt;
	crypt.MakeKey("MIUJkHyHnjHyGtqO", "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16, 16);

	char * decrypted = new char[len];
	crypt.Decrypt(line,decrypted,len);
	
	
	delete[] line;
	delete [] decrypted;

	return atoi(line);
    }

But it is giving this error: "Data not multiple of Block Size"

My file to encrypt has to have a fixed length?