I've seen code examples for DES and triple DES using password based encryption, but have not seen any for AES.
My problem is that I've been mandated to use 256-bit encryption, so my first choice of an algorithm was AES since DES and triple DES aren't strong enough. I'm definitely a beginner in the realm of encryption so please also feel free to let me know of there's a better algorithm at a strength of 256.
The reason I would really like to pick a solution with password based encryption is so that I don't have to store a file containing the generated key anywhere and can store the password in the code. This would provide me with a completely transparent solution to customer having all the encryption packaged in the code.