BCryptPasswordEncoder 密钥
时间: 2024-01-06 19:04:21 浏览: 88
vnc + 密钥
BCryptPasswordEncoder并不需要密钥来进行加密和验证密码。它使用了BCrypt强哈希方法,每次加密的结果都不一样,并且在加密过程中会自动生成随机盐。所以,对于BCryptPasswordEncoder来说,密钥并不是必需的。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [spring security BCryptPasswordEncoder加密解密](https://blog.csdn.net/qq_26018075/article/details/114538563)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文