Generate a salt for use with the BCrypt.hashpw method.
BCrypt.hashpw
Returns an encoded salt value
String gensaltWithRounds(int log_rounds) => gensaltWithRoundsAndRandom(log_rounds, new Random.secure());