Where is the encryption key stored?
There are several options for storing encryption keys, but many are not very good options. For example, storing keys in the database along with encrypted data is insecure because if the data is stolen the keys are stolen as well. Two other options are to hard code them in programs or store them in a separate file on the file system.