property1 Spring property 암호화 (jasypt) 1. POM.xml 설정 org.jasypt jasypt ${org.jasypt-version} org.jasypt jasypt-spring31 ${org.jasypt-version} 2. mysql password 암호화 public void encryptTest() { StandardPBEStringEncryptor encryptor = new StandardPBEStringEncryptor(); encryptor.setPassword("encryptpassword"); encryptor.setAlgorithm("PBEWithMD5AndDES"); // encryptor.setSaltGenerator(new StringFixedSaltGenerator("someFixedSalt")); String s.. 2020. 8. 11. 이전 1 다음