# Is it a bad idea to use PGP encryption for structured/predictable data?

I'm working on an app and need to encrypt some structured data. The data will be turned into a string form (JSON) before getting encrypted.

The data format I'm using will always start with a { character and end with a } character. Does this make encryption less secure? Are there any methods for more securely encrypting a JSON string?

• PGP should work just fine. It is meant to take any sort of data as input and securely encrypt it. – mikeazo May 2 '15 at 1:24