Class PasswordSaltBCrypt

    • Constructor Detail

      • PasswordSaltBCrypt

        public PasswordSaltBCrypt()
        Create a new BCrypt password salt with the default rounds of 10.
      • PasswordSaltBCrypt

        public PasswordSaltBCrypt​(@Nonnegative
                                  int nRounds)
        Constructor to create a new BCrypt password salt with the provided rounds.
        Parameters:
        nRounds - the log2 of the number of rounds of hashing to apply - the work factor therefore increases as 2**log_rounds.