java - 解码Spring安全BCryptPasswordEncoder

标签 java spring-security decode bcrypt password-encryption

是否可以使用 Spring Security 或其他库通过 BCryptPasswordEncoder 解码编码的密码?

最佳答案

BCryptPasswordEncoder 以单向散列原理工作,只能用于编码,无法解码 BCryptPasswordEncoder 编码的密码。 您只能将编码后的密码与原始密码进行匹配。

关于java - 解码Spring安全BCryptPasswordEncoder,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39426313/

相关文章:

java - 如何检查(调试)JPA 查询是否从缓存或数据库获取结果

Java NIO - 连接到 telnet/bash/等。命令行实用程序

spring - 使用 Spring 3.0.5 和 Jackson 向 Tomcat 发出 JSON PUT 请求时出现 403

java - 如何正确编码和解码Base64字符串?

java - Mockito 为了验证任何匹配器

java - 在字符串中搜索模式

Grails Acegi : Redirection on a ajax method and not on the webpage. 为什么?

Spring boot - 如何覆盖spring security中的默认用户名和密码

php - 从 MySQL 解码 JSON

c# - 在 C# 中解码条形码图像