springMVC,springboot整合jasypt生成加密串 public class Encryptor { public static void main(String[] args) { BasicTextEncryptor textEncryptor = new BasicTextEncryptor(); textEncryptor.setPassword("mysalt");//自定义加密盐 String myEncryptedPassword = textEncryptor.encrypt("jdbcpasword"); System.out