Bcrypt.genSalt

Generate a good salt for this algorithm

  1. string genSalt(size_t log_rounds)
    struct Bcrypt
    static
    string
    genSalt
    (
    size_t log_rounds = 10
    )
  2. void genSalt(Out output, size_t log_rounds)

Parameters

log_rounds size_t

log base 2 of number of rounds (i.e., number of rounds is 2 ^^ log_rounds) Minimum 4 and maximum 31.

Meta