How do I generate an AES Key for a Landing Page?
Do you mean the p1 parameter which is part of e.g. links to unsubscription page in the E-Mail?
Unfortunately those you can't generate outside of ACS as it's using a system encryption key which is not available for other use.
If you want to be able to preload data on a landing page using a custom call, you could: