springsecurity的加密方式
时间: 2023-08-12 09:06:52 浏览: 102
Spring security密码加密实现代码实例
Spring Security提供了多种密码加密方式。其中,DelegatingPasswordEncoder是一种灵活的选择,可以同时存在多种密码加密方案。这主要用于老旧项目的改造,因为一旦密码加密方式确定,很难再进行改变,而DelegatingPasswordEncoder可以使用最新的框架来进行密码加密。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* *3* [SpringSecurity - 加密方案](https://blog.csdn.net/trustnature/article/details/120858387)[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^v92^chatsearchT3_1"}} ] [.reference_item]
- *2* [Spring 之Security提供的加密算法BCryptPasswordEncoder](https://blog.csdn.net/const_/article/details/123880478)[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^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文