Skip to content

Instantly share code, notes, and snippets.

@johnjqc
Created October 21, 2020 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnjqc/718f3a667f55eaee408f61fc91419ded to your computer and use it in GitHub Desktop.
Save johnjqc/718f3a667f55eaee408f61fc91419ded to your computer and use it in GitHub Desktop.
@Bean
public PasswordEncoder buildPassEncoder() {
return new BCryptPasswordEncoder(4, new SecureRandom());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment