gensalt
Generate a salt for use with the BCrypt.hashpw() method
Return
an encoded salt value
Parameters
log_rounds
the log2 of the number of rounds of hashing to apply - the work factor therefore increases as 2**log_rounds.
random
an instance of SecureRandom to use
Generate a salt for use with the BCrypt.hashpw() method
Return
an encoded salt value
Parameters
log_rounds
the log2 of the number of rounds of hashing to apply - the work factor therefore increases as 2**log_rounds.
Generate a salt for use with the BCrypt.hashpw() method, selecting a reasonable default for the number of hashing rounds to apply
Return
an encoded salt value