I have a spring boot web application without registration page or allowing users to register. I'm manually creating passwords using another web spring application which ones gives me encoded password on request. Using the below link to generate the encoded password: http://www.baeldung.com/spring-security-registration-password-encoding-bcrypt
But i was researching to find an alternate simple python equivalent,so i can use it on the cli easily.?
I was facing the same problem, but the following worked for me:
bcrypt.gensalt(rounds = 10, prefix=b"2a")
This seems to be in sync with the bean BCryptPasswordEncoder
in SpringBoot :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With