Can't save Jasypt encrypted password to .properties file <p>I'm trying to store some strings in a .properties file. Now i want to encrypt those strings with Jasypt. But when I try to save this to the .properties file it is missing the surrounding "ENC()". When i try to insert this manually, the string is stored in clear text. Why?</p> <pre><code>StandardPBEStringEncryptor encryptor = new StandardPBEStringEncryptor(); encryptor.setPassword("123456789"); Properties prop = new EncryptableProperties(encryptor); prop.setProperty("key", "ENC(" + encryptor.encrypt("value") + ")"); prop.store(new FileOutputStream(System.getProperty("user.home") + "/.application-name/config.properties"), "Test"); </code></pre>