Class BCrypt.Builder

java.lang.Object
com.helixframework.crypto.bcrypt.BCrypt.Builder
Enclosing class:
BCrypt

public static class BCrypt.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • encoder

      public BCrypt.Builder encoder(org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder value)
      Sets a custom BCryptPasswordEncoder instance.
      Parameters:
      value - the BCryptPasswordEncoder to use
      Returns:
      this builder instance for method chaining
    • build

      public BCrypt build()
      Creates a new BCrypt instance with the current configuration.
      Returns:
      a new BCrypt instance