java - StandardPBEStringEncryptor 类使用的默认值是什么?

标签 java spring spring-boot encryption jasypt

我浏览了以下帖子。 StandardPBEStringEncryptor 类中使用的默认值是什么,即哪种算法、盐生成器、哈希值等? 任何提供所有这些值的链接。

[[1]: Why set a password using jasypt when encrypting text?

最佳答案

有时源代码是解决此类问题的最佳文档。 Jasypt 的源代码很容易阅读,并且它的 javadoc 也非常好。通过从 StandardPBEStringEncryptor#encrypt 阅读其源代码,我找到了以下设置的默认值:

关于java - StandardPBEStringEncryptor 类使用的默认值是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54365800/

相关文章:

java - 使用 MAMP、Tomcat、Java 进行本地开发

java - 我想修剪单个字符串中的空格

java - 可调用/可运行 Controller 方法 : What's the point?

angular - 如果 CORS header ‘Access-Control-Allow-Origin’ 是 ‘*’,则不支持凭据

spring - 如何在 Spring 中注入(inject)基于类型安全限定符的 bean 类型映射?

mysql - 如何在 DigitalOcean 的托管 MYSQL 数据库中更改时区?

java - 如何提取字母数字字符串中的前四位连续数字?

java - Keycloak 访问 token

java - "SELECT... WHERE column > ?1"- 那是什么?

java - 运行测试时禁用 Spring Cloud Consul