Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Decoding Spring security BCryptPasswordEncoder

Is it possible using Spring Security or other library decode encoded password by BCryptPasswordEncoder?

like image 427
zzheads Avatar asked Jul 28 '26 16:07

zzheads


1 Answers

BCryptPasswordEncoder works on one way hashing principle that can be only used for encoding, there is no way to decode the password encoded by BCryptPasswordEncoder. You can only match the encoded password with the raw password.

like image 109
Amit Dusane Avatar answered Jul 30 '26 05:07

Amit Dusane



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!