A symmetric cipher is configured to use ECB mode, which leaks plaintext patterns.
Use an authenticated mode such as GCM, or CBC with a random IV instead of ECB.