What is the difference of AES-128 and AES-512 using php's mcrypt?

If a hacker can see your source code, then they can also see and run your formula.