Does anyone know where I can download the src to have a look through?
Edit: found it https://code.google.com/p/corkami/source/browse/#svn%2Ftrunk...
http://corkami.googlecode.com/svn/trunk/src/angecryption/ang...
> So the block size needs to be near the key size
Note that AES-256 has a 256 bit key, but the block size is 128 bits, which is not near the key size.
I believe that the main constraint on block size is that a small block limits the length of messages you can safely encrypt with a given key. If the bad guys see a lot of cipher text encrypted with the same key, they have a better chance of a successful attack. What "a lot of cipher text" means depends on the block size. The bigger the block size, the more cipher text is needed to constitute "a lot of cipher text".
That's also the reason why one should limit the max-length of a password field (something reasonable), if one is using the salted-password in db approach. Otherwise someone could enter a very long password to do the trick (MD5/SHA1), see http://en.wikipedia.org/wiki/MD5#Security .